mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-12 15:20:32 +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
|
# issue #788
|
||||||
curs.execute("select null = any(%s)", ([[]], ))
|
curs.execute("select null = any(%s)", ([[]], ))
|
||||||
self.assertEqual(curs.fetchone(), None)
|
self.assertFalse(curs.fetchone()[0])
|
||||||
|
|
||||||
def testEmptyArrayNoCast(self):
|
def testEmptyArrayNoCast(self):
|
||||||
s = self.execute("SELECT '{}' AS foo")
|
s = self.execute("SELECT '{}' AS foo")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user