Skip to content

Commit

Permalink
Removed worksround in test after pathlib2 bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbean-bremen committed Jun 30, 2019
1 parent 1ae21b3 commit c8325bd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pyfakefs/tests/fake_pathlib_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -436,11 +436,7 @@ def test_resolve_nonexisting_file_after_36(self):
skip_if_pathlib_36_not_available()
path = self.path(
self.make_path('/path', 'to', 'file', 'this can not exist'))
# kludge to avoid https://github.com/mcmtroffaes/pathlib2/issues/45
if not (pathlib2 and
TestCase.is_windows and
sys.version_info < (3, 2)):
self.assertEqual(path, path.resolve())
self.assertEqual(path, path.resolve())
self.assert_raises_os_error(errno.ENOENT, path.resolve,
strict=True)

Expand Down

0 comments on commit c8325bd

Please sign in to comment.