Message206860
| Author |
vajrasky |
| Recipients |
pitrou, vajrasky |
| Date |
2013年12月23日.14:48:42 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387810124.3.0.485695266122.issue20055@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|