mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 02:43:43 +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()
|
||||
assert len(names) == len(self.samples)
|
||||
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:
|
||||
self.help_nextset_tearDown(cur)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user