Skip to content

Conversation

@willmcgugan
Copy link
Member

@willmcgugan willmcgugan commented Feb 22, 2019

Type of changes

  • Bug fix
  • New feature
  • Documentation / docstrings
  • Tests
  • Other

Checklist

  • I've run the latest black with default args on new code.
  • I've updated CHANGELOG.md and CONTRIBUTORS.md where appropriate.
  • I've added tests for new code.
  • I accept that @willmcgugan may be pedantic in the code review.

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

@coveralls
Copy link

coveralls commented Feb 22, 2019

Coverage Status

Coverage decreased (-0.02%) to 99.676% when pulling 5040ec3 on win-fix into 183affb on master.

@willmcgugan willmcgugan merged commit dcf54ce into master Feb 23, 2019
@willmcgugan willmcgugan deleted the win-fix branch February 23, 2019 09:58
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":
Copy link
Member

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 ?

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@willmcgugan : my bad !

Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ZipFS (Writing Mode) Error on Windows

3 participants