summaryrefslogtreecommitdiff
path: root/gitdb/test/test_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitdb/test/test_stream.py')
-rw-r--r--gitdb/test/test_stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitdb/test/test_stream.py b/gitdb/test/test_stream.py
index 9626825..5d4b93d 100644
--- a/gitdb/test/test_stream.py
+++ b/gitdb/test/test_stream.py
@@ -135,7 +135,7 @@ class TestStream(TestBase):
ostream.close()
# its closed already
- self.failUnlessRaises(OSError, os.close, fd)
+ self.assertRaises(OSError, os.close, fd)
# read everything back, compare to data we zip
fd = os.open(path, os.O_RDONLY | getattr(os, 'O_BINARY', 0))