diff --git a/CHANGELOG.md b/CHANGELOG.md index 89e0dd8d..ab559c7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## Unreleased -### Added - ### Changed - Support more lenient usernames and group names in FTP servers diff --git a/tests/test_error_tools.py b/tests/test_error_tools.py index 02def95f..d3d706c5 100644 --- a/tests/test_error_tools.py +++ b/tests/test_error_tools.py @@ -27,7 +27,8 @@ def test_convert_enametoolong(self): @unittest.skipIf(sys.platform != "win32", "requires Windows") def test_convert_resourcelocked_windows(self): - exception = OSError(32, "resource locked") + # errno should be ignored on Windows so we pass in a bogus number. + exception = OSError(123456, "resource locked", None, 32) with self.assertRaises(fs.errors.ResourceLocked) as ctx: with convert_os_errors("stat", "/tmp/test"): raise exception