-
-
Notifications
You must be signed in to change notification settings - Fork 29.2k
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_pep277 fails on OS X #52454
Comments
With r79207 (bpo-8180) applied to trunk, seeing this failure (10.6.2, HFS+ case-sensitive file system): ====================================================================== Traceback (most recent call last):
File "/private/tmp/pp/usr/local/lib/python2.7/test/test_pep277.py", line 119, in test_normalize
os.stat(name)
OSError: [Errno 2] No such file or directory: '@test_24797_tmp/\xe2\x80\x82\xe2\x80\x82\xe2\x80\x82A' Ran 30 tests in 0.237s FAILED (errors=1)
test test_pep277 failed -- Traceback (most recent call last):
File "/private/tmp/pp/usr/local/lib/python2.7/test/test_pep277.py", line 119, in test_normalize
os.stat(name)
OSError: [Errno 2] No such file or directory: '@test_24797_tmp/\xe2\x80\x82\xe2\x80\x82\xe2\x80\x82A' |
Also this failure on py3k: ====================================================================== Traceback (most recent call last):
File "/private/tmp/pp3/usr/local/lib/python3.2/test/test_pep277.py", line 119, in test_normalize
os.stat(name)
OSError: [Errno 2] No such file or directory: '@test_42408_tmp/\u2002\u2002\u2002A' |
This patch should fix it... <rant> |
Florent Xicluna wrote:
Could you provide a reference link for this quote ? It's rather strange that those ranges are not decomposed, |
Actually, the file system in question is what Apple calls a HFSX case-sensitive (see http://developer.apple.com/mac/library/technotes/tn/tn1150.html#HFSX). On a typical OS X system, you could encounter any combination of HFS+ case-insensitive, HFSX case-insensitive, HFSX case-sensitive file systems, along with other usual suspects, like NFS or SMB. I'll note again the warning in r33595. |
I put the link in the patch: |
With the patch for trunk, the test no longer fails on the given file system. |
Fixed on trunk with r79426 and on 3.x with r79474 |
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: