Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions fs/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,8 +1082,7 @@ def test_remove(self):
self.fs.makedirs("foo/bar/baz/")

error_msg = "resource 'foo/bar/egg/test.txt' not found"
assertRaisesRegex = getattr(self, "assertRaisesRegex", self.assertRaisesRegexp)
with assertRaisesRegex(errors.ResourceNotFound, error_msg):
with six.assertRaisesRegex(self, errors.ResourceNotFound, error_msg):
self.fs.remove("foo/bar/egg/test.txt")

def test_removedir(self):
Expand Down