Message9768

Author jeff.allen
Recipients jeff.allen
Date 2015-04-06.19:13:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428347617.45.0.0744022458311.issue2310@psf.upfronthosting.co.za>
In-reply-to
Content
Observed in 2.7rc2 on Windows 7 64-bit.

> jython -m test.test_import
Traceback (most recent call last):
  File "C:\jython\2.7rc2\Lib\runpy.py", line 161, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\jython\2.7rc2\Lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\jython\2.7rc2\Lib\test\test_import.py", line 606, in <module>
    class TestSymbolicallyLinkedPackage(unittest.TestCase):
  File "C:\jython\2.7rc2\Lib\test\test_import.py", line 635, in TestSymbolicallyLinkedPackage
    @unittest.skipUnless(
  File "C:\jython\2.7rc2\Lib\test\symlink_support.py", line 25, in skip_unless_symlink
    ok = can_symlink()
  File "C:\jython\2.7rc2\Lib\test\symlink_support.py", line 14, in can_symlink
    symlink(TESTFN, symlink_path)
  File "C:\jython\2.7rc2\Lib\test\symlink_support.py", line 14, in can_symlink
    symlink(TESTFN, symlink_path)
TypeError: 'NoneType' object is not callable

It looks like this test never got started. I wonder at the ref to symlinks on Windows. Similar idea exists, but CPython os.symlink is available on Unix only. I suspect a use of os.name again. (Does setting that to 'java' really break less code than setting it to 'nt' etc.?)
History
Date User Action Args
2015-04-06 19:13:37jeff.allensetrecipients: + jeff.allen
2015-04-06 19:13:37jeff.allensetmessageid: <1428347617.45.0.0744022458311.issue2310@psf.upfronthosting.co.za>
2015-04-06 19:13:37jeff.allenlinkissue2310 messages
2015-04-06 19:13:37jeff.allencreate