[New-bugs-announce] [issue14108] test_shutil: failures in symlink tests

Stefan Krah report at bugs.python.org
Fri Feb 24 19:07:25 CET 2012


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

These two tests fail on Windows 7:

======================================================================                                      
FAIL: test_copymode_follow_symlinks (test.test_shutil.TestShutil)                                           
----------------------------------------------------------------------                                      
Traceback (most recent call last):                                                                          
  File "C:\Users\stefan\hg\master\lib\test\test_shutil.py", line 194, in test_copymode_follow_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:\Users\stefan\hg\master\lib\test\test_shutil.py", line 59, in wrap                                
    return func(*args, **kwargs)                                                                            
  File "C:\Users\stefan\hg\master\lib\test\test_shutil.py", line 1137, in test_move_dangling_symlink        
    self.assertEqual(os.path.realpath(src), os.path.realpath(dst_link))                                     
AssertionError: 'c:\\users\\stefan\\appdata\\local\\temp\\tmp7a4jc3\\baz' != 'c:\\users\\stefan\\appdata\\lo
cal\\temp\\tmp9ucl3b\\quux'                                                                                 
- c:\users\stefan\appdata\local\temp\tmp7a4jc3\baz                                                          
?                                       ^^^^   ^^^                                                          
+ c:\users\stefan\appdata\local\temp\tmp9ucl3b\quux                                                         
?                                       ^^ + + ^^^^

----------
components: Tests
messages: 154142
nosy: skrah
priority: normal
severity: normal
status: open
title: test_shutil: failures in symlink tests
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list