Message206860
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. |
|
Date |
User |
Action |
Args |
2013-12-23 14:48:44 | vajrasky | set | recipients:
+ vajrasky, pitrou |
2013-12-23 14:48:44 | vajrasky | set | messageid: <1387810124.3.0.485695266122.issue20055@psf.upfronthosting.co.za> |
2013-12-23 14:48:44 | vajrasky | link | issue20055 messages |
2013-12-23 14:48:43 | vajrasky | create | |
|