[New-bugs-announce] [issue16412] test_shutil: 2 failures related to symlinks

STINNER Victor report at bugs.python.org
Mon Nov 5 01:47:25 CET 2012


New submission from STINNER Victor:

======================================================================
FAIL: test_copymode_follow_symlinks (test.test_shutil.TestShutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\victor\default\lib\test\test_shutil.py", line 258, in test_copymode_f
ollow_symlinks
    self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
AssertionError: 33206 != 33060

======================================================================
FAIL: test_move_dangling_symlink (test.test_shutil.TestMove)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\victor\default\lib\test\test_shutil.py", line 60, in wrap
    return func(*args, **kwargs)
  File "C:\victor\default\lib\test\test_shutil.py", line 1435, in test_move_dang
ling_symlink
    self.assertEqual(os.path.realpath(src), os.path.realpath(dst_link))
AssertionError: 'c:\\users\\haypo\\appdata\\local\\temp\\tmpmhpdb_\\baz' != 'c:\
\users\\haypo\\appdata\\local\\temp\\tmpnsjap0\\quux'
- c:\users\haypo\appdata\local\temp\tmpmhpdb_\baz
?                                      ^^ ^^^ ^^^
+ c:\users\haypo\appdata\local\temp\tmpnsjap0\quux
?                                      ^^^^ ^ ^^^^

----------
components: Windows
messages: 174856
nosy: haypo
priority: normal
severity: normal
status: open
title: test_shutil: 2 failures related to symlinks

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16412>
_______________________________________


More information about the New-bugs-announce mailing list