Fixed test for issue #788

This commit is contained in:
Federico Di Gregorio 2018-10-10 09:35:18 +02:00
parent ebcfbe03f9
commit 1fe9f1ac5b

View File

@ -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")