-
-
Notifications
You must be signed in to change notification settings - Fork 181
Win fix #269
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
Win fix #269
Conversation
| for info in test_fs.scandir("/"): | ||
| self.assertIsInstance(info.name, six.text_type) | ||
| self.assertEqual(info.name, self.TEST_FILENAME_UNICODE) | ||
| if platform.system() != "Windows": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not wrap in two unittest.skipIf decorators with two different conditions ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was breaking at the module level. Fsencode uses 'strict' error handler and was throwing an exception on the classvar.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@willmcgugan : my bad !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries! I've got Windows tests running with appveyor now, so we can catch these things in future.
Type of changes
Checklist
Description
Fixes #256 and a number of other Windows issues. Now that we have Windows set up in appveyor, we can keep on top of Windows support