New submission from Vajrasky Kok: Use administrator account and run Lib\test\test_shutil.py! You will get two failing tests.
====================================================================== FAIL: test_move_dangling_symlink (__main__.TestMove) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib\test\test_shutil.py", line 60, in wrap return func(*args, **kwargs) File "Lib\test\test_shutil.py", line 1557, in test_move_dangling_symlink self.assertEqual(os.path.realpath(src), os.path.realpath(dst_link)) AssertionError: 'C:\\Users\\compaq\\AppData\\Local\\Temp\\tmp9kkaex06\\baz' != ' C:\\Users\\compaq\\AppData\\Local\\Temp\\tmpuuretujv\\quux' - C:\Users\compaq\AppData\Local\Temp\tmp9kkaex06\baz ? ^^^^ ------ + C:\Users\compaq\AppData\Local\Temp\tmpuuretujv\quux ? ^^^ ++++++++ ====================================================================== FAIL: test_copymode_follow_symlinks (__main__.TestShutil) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib\test\test_shutil.py", line 298, in test_copymode_follow_symlinks self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode) AssertionError: 33206 != 33060 ---------------------------------------------------------------------- Ran 85 tests in 0.872s FAILED (failures=2, skipped=12) Attached the patch which contains the explanation as well to fix the tests. ---------- components: Library (Lib) files: fix_test_shutil_with_admin_on_windows.patch keywords: patch messages: 206860 nosy: pitrou, vajrasky priority: normal severity: normal status: open title: On Windows NT 6 with administrator account, there are two failing tests on test_shutil.py type: behavior versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file33257/fix_test_shutil_with_admin_on_windows.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20055> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com