Terry J. Reedy <tjre...@udel.edu> added the comment: I applied mkdir.diff, 08-07, patch to my current working copy, added version-added and News entry (with credit to Ray Allen) and added Ray Allen to ACKS. Uploaded as mkdirs.tr.diff
I suspect a complete test should include a linux system, but I copied os.py and test_os.py to my WinXP 3.2a3 installation and in IDLE ran >>> from test.test_os import test_main as f; f() The mkdir tests passed, but for what is is worth, 3 others did not: (I have no interpretation or comment on these ;-) ====================================================================== ERROR: test_CTRL_BREAK_EVENT (test.test_os.Win32KillTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Programs\Python32\lib\test\test_os.py", line 1137, in test_CTRL_BREAK_EVENT self._kill_with_event(signal.CTRL_BREAK_EVENT, "CTRL_BREAK_EVENT") File "C:\Programs\Python32\lib\test\test_os.py", line 1111, in _kill_with_event time.sleep(0.5) WindowsError: [Error 6] The handle is invalid ====================================================================== ERROR: test_link (test.test_os.LinkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Programs\Python32\lib\test\test_os.py", line 906, in test_link self._test_link(self.file1, self.file2) File "C:\Programs\Python32\lib\test\test_os.py", line 901, in _test_link os.link(file1, file2) AttributeError: 'module' object has no attribute 'link' ====================================================================== ERROR: test_link_bytes (test.test_os.LinkTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\Programs\Python32\lib\test\test_os.py", line 910, in test_link_bytes bytes(self.file2, sys.getfilesystemencoding())) File "C:\Programs\Python32\lib\test\test_os.py", line 901, in _test_link os.link(file1, file2) AttributeError: 'module' object has no attribute 'link' ---------- Added file: http://bugs.python.org/file19849/mkdirs.tr.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9299> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com