mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-26 21:50:36 +03:00
Python < 3.2 doesn’t have assertIsInstance
This commit is contained in:
parent
38cd720369
commit
9e5621698f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user