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
Windows fix for inspect tests #45725
Comments
The patch lower()s the file names on Windows. The tests break on my |
Shouldn't this use os.path.normcase() instead of testing for nt and |
A slightly modified patch, which uses os.path.normcase before comparing |
Ah, os.path has a method for the job. I should have checked the module For some unknown and mysterious reasons the inspect tests are passing |
Yes, the patch is needed. Example on my machine: Note that the exact path to run python is not the
If I always use the same path the tests succeed. |
Applied to py3k in r58875. I'm doing a svnmerge later. Thanks again for |
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: