Skip to content
This repository has been archived by the owner on May 29, 2022. It is now read-only.

Commit

Permalink
Fixed python 2.6 test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDoee committed Jun 5, 2015
1 parent 3074f23 commit 11c031b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotorrent/tests/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def test_inaccessible_file(self):
os.chmod(inaccessible_path, 0000)
self.db.rebuild()

self.assertIn("Path %r is not accessible, skipping" % inaccessible_path, h.buffer)
self.assertTrue("Path %r is not accessible, skipping" % inaccessible_path in h.buffer)

l.removeHandler(h)
h.close()

0 comments on commit 11c031b

Please sign in to comment.