mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-22 17:06:33 +03:00
Replace comparison with None with equality operator
This commit is contained in:
parent
b69457ccdf
commit
955526b200
|
@ -762,7 +762,7 @@ class DatabaseAPI20Test(unittest.TestCase):
|
||||||
names=cur.fetchall()
|
names=cur.fetchall()
|
||||||
assert len(names) == len(self.samples)
|
assert len(names) == len(self.samples)
|
||||||
s=cur.nextset()
|
s=cur.nextset()
|
||||||
assert s == None,'No more return sets, should return None'
|
assert s is None, 'No more return sets, should return None'
|
||||||
finally:
|
finally:
|
||||||
self.help_nextset_tearDown(cur)
|
self.help_nextset_tearDown(cur)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user