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
path.walkdirs() unicode problem #41
Comments
In 871408c, I added a test in an attempt to recreate this error, but the tests still pass. I'll need more information to replicate the issue. Were you on Python 2 or Python 3? What OS? What file system encoding? What paths were in the tree (in particular, non-ascii paths)? |
You forget to add unittest.TestCase to the test class :P |
So while the test derives from unittest.TestCase, the tests still pass on all Python versions on both Linux and Windows. I suspect the issue has something to do with the file system encoding, but I'm not familiar with the nuances of file system encodings, and the issue doesn't seem to exist in a clean environment, so without better information, this issue won't be fixed. |
Which Linux flavour and version did you use to test? |
The tests run continuously on Travis – CI. I believe it uses Ubuntu 10. |
Correction - Ubuntu Precise (12.04) LTS is what Travis-CI uses. The tests are linked from the README, so visible from the pypi page and project home. |
running test_path.py manually fails with:
|
The test that's failing is depending on py.test to invoke setup_method. This requirement needs to be made more explicit, but it is the way tests are run on travis (see .travis.yml for specifics on how the tests are run, or simply run 'py.test' with pytest installed). |
I can't reproduce the issue anymore, so.. no bug Anyway, thank you for the support! |
Glad to help. And thanks for your patience. |
The text was updated successfully, but these errors were encountered: