New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test_shutil fails with symlinks enabled under Windows #58045
Comments
This happens when symlinks are enabled under Windows. This doesn't affect any buildbots since they don't run the tests as administrator (or they are not recent enough to have symlink support): ====================================================================== Traceback (most recent call last):
File "C:\t\cpython\lib\test\test_shutil.py", line 193, in test_copymode_follow
_symlinks
self.assertEqual(os.stat(src).st_mode, os.stat(dst).st_mode)
AssertionError: 33206 != 33060 ====================================================================== Traceback (most recent call last):
File "C:\t\cpython\lib\test\test_shutil.py", line 58, in wrap
return func(*args, **kwargs)
File "C:\t\cpython\lib\test\test_shutil.py", line 1136, in test_move_dangling_
symlink
self.assertEqual(os.path.realpath(src), os.path.realpath(dst_link))
AssertionError: 'c:\\users\\antoine\\appdata\\local\\temp\\tmp8bl4eu\\baz' != 'c
:\\users\\antoine\\appdata\\local\\temp\\tmplc6h2h\\quux'
- c:\users\antoine\appdata\local\temp\tmp8bl4eu\baz
? -- ^^ ^^^^
+ c:\users\antoine\appdata\local\temp\tmplc6h2h\quux
? ^^^^^^^ ^^ |
Error in test_copymode_follow_symlinks is adderessed in bpo-15411. |
Error in test_move_dangling_symlink is fixed by bpo-9949 |
Ping? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: