From: Damian Dimmich Date: Sat, 28 Jun 2014 19:24:36 +0000 (+0400) Subject: it's OK to pass a dict in - it does the right thing, no need to quote it X-Git-Tag: rel_1_0_0b1~349^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f402761d91a79afd01072d7ab6e83bf64106ddc;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git it's OK to pass a dict in - it does the right thing, no need to quote it in the tests. --- diff --git a/test/dialect/postgresql/test_types.py b/test/dialect/postgresql/test_types.py index 6e6e226236..d4d7d37667 100644 --- a/test/dialect/postgresql/test_types.py +++ b/test/dialect/postgresql/test_types.py @@ -2011,7 +2011,7 @@ class JSONBTest(JSONTest): def test_where_contains(self): self._test_where( - self.jsoncol.contains('{"k1": "r1v1"}'), + self.jsoncol.contains({"k1": "r1v1"}), "test_table.test_column @> %(test_column_1)s" )