This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_shutil: failures in symlink tests
Type: behavior Stage:
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: test_shutil fails with symlinks enabled under Windows
View: 13837
Assigned To: Nosy List: brian.curtin, eric.araujo, pitrou, skrah, tarek
Priority: normal Keywords:

Created on 2012-02-24 18:07 by skrah, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg154142 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-02-24 18:07
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                                                         
?                                       ^^ + + ^^^^
msg154158 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-02-24 20:39
It's a duplicate of issue13837.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58316
2012-02-24 20:39:02pitrousetstatus: open -> closed

nosy: + pitrou
messages: + msg154158

superseder: test_shutil fails with symlinks enabled under Windows
resolution: duplicate
2012-02-24 18:18:28skrahsetnosy: + tarek, eric.araujo
2012-02-24 18:15:53brian.curtinsetnosy: + brian.curtin
2012-02-24 18:07:24skrahcreate