diff options
author | Hugo <hugovk@users.noreply.github.com> | 2017-11-28 10:31:03 +0200 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2017-11-28 16:03:23 +0000 |
commit | 955526b200f998ce00d0dadfd8fa8049ac1df284 (patch) | |
tree | c598ab6ee145a198d171f639b96e698d93e67fd1 /tests | |
parent | b69457ccdf072b20797689fe8b03a318769a96fb (diff) | |
download | psycopg2-955526b200f998ce00d0dadfd8fa8049ac1df284.tar.gz |
Replace comparison with None with equality operator
Diffstat (limited to 'tests')
-rw-r--r-- | tests/dbapi20.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dbapi20.py b/tests/dbapi20.py index f707c09..ff98ddc 100644 --- a/tests/dbapi20.py +++ b/tests/dbapi20.py @@ -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) |