mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Fixed test for issue #788
This commit is contained in:
parent
ebcfbe03f9
commit
1fe9f1ac5b
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue
Block a user