diff --git a/tests/test_types_basic.py b/tests/test_types_basic.py index d21309ef..31f0310d 100755 --- a/tests/test_types_basic.py +++ b/tests/test_types_basic.py @@ -272,6 +272,8 @@ class TypesBasicTests(ConnectingTestCase): ]: curs.execute("select %s::int[]", (a,)) self.assertEqual(curs.fetchone()[0], a) + curs.execute("select array[%s::int[]]", (a,)) + self.assertEqual(curs.fetchone()[0], [a]) def testTypeRoundtripBytes(self): o1 = bytes(range(256))