diff options
| author | Frazer McLean <frazer@frazermclean.co.uk> | 2017-04-16 03:44:21 +0200 |
|---|---|---|
| committer | Frazer McLean <frazer@frazermclean.co.uk> | 2017-04-16 03:44:21 +0200 |
| commit | 9e5621698f821f2e9cddf353ceac3263213aa100 (patch) | |
| tree | e15d698313126d17f769068f573fcee67b1af83a | |
| parent | 38cd7203695301f8f13e25e70eccf8e783cc1c7f (diff) | |
| download | psycopg2-9e5621698f821f2e9cddf353ceac3263213aa100.tar.gz | |
Python < 3.2 doesn’t have assertIsInstance
| -rwxr-xr-x | tests/test_lobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_lobject.py b/tests/test_lobject.py index 744a3a8..16a0e88 100755 --- a/tests/test_lobject.py +++ b/tests/test_lobject.py @@ -387,7 +387,7 @@ class LargeObjectTests(LargeObjectTestCase): pass lo = self.conn.lobject(lobject_factory=lobject_subclass) - self.assertIsInstance(lo, lobject_subclass) + self.assert_(isinstance(lo, lobject_subclass)) decorate_all_tests(LargeObjectTests, skip_if_no_lo, skip_lo_if_green) |
