diff options
author | Federico Di Gregorio <fog@dndg.it> | 2018-10-10 09:35:18 +0200 |
---|---|---|
committer | Federico Di Gregorio <fog@dndg.it> | 2018-10-10 09:35:18 +0200 |
commit | 1fe9f1ac5b8f3b7102b4f15017fb6facf0fffced (patch) | |
tree | e4558286cb9133358bccf18ee92370e824ecf7e3 | |
parent | ebcfbe03f9db86591a520758d3569cce1354bed8 (diff) | |
download | psycopg2-1fe9f1ac5b8f3b7102b4f15017fb6facf0fffced.tar.gz |
Fixed test for issue #788
-rwxr-xr-x | tests/test_types_basic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_types_basic.py b/tests/test_types_basic.py index 5d89a16..68d230b 100755 --- a/tests/test_types_basic.py +++ b/tests/test_types_basic.py @@ -169,7 +169,7 @@ class TypesBasicTests(ConnectingTestCase): # issue #788 curs.execute("select null = any(%s)", ([[]], )) - self.assertEqual(curs.fetchone(), None) + self.assertFalse(curs.fetchone()[0]) def testEmptyArrayNoCast(self): s = self.execute("SELECT '{}' AS foo") |