Skip to content

Commit

Permalink
Rely on py.test assert rewrites for failIf.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Aug 9, 2015
1 parent 17e4fb1 commit 23d4ef7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_path.py
Expand Up @@ -414,7 +414,7 @@ def testMakeDirs(self):
assert boz.isdir()
finally:
boz.removedirs()
self.failIf(foo.exists())
assert not foo.exists()
assert d.exists()

foo.mkdir(0o750)
Expand All @@ -423,7 +423,7 @@ def testMakeDirs(self):
assert boz.isdir()
finally:
boz.removedirs()
self.failIf(foo.exists())
assert not foo.exists()
assert d.exists()
finally:
os.remove(tempf)
Expand Down

0 comments on commit 23d4ef7

Please sign in to comment.