(self)
| 952 | con.escape({"foo": Foo()}) |
| 953 | |
| 954 | def test_escape_list_item(self): |
| 955 | con = self.connect() |
| 956 | |
| 957 | mapping = con.encoders.copy() |
| 958 | mapping[Foo] = escape_foo |
| 959 | self.assertEqual(con.escape([Foo()], mapping), "(bar)") |
| 960 | |
| 961 | def test_previous_cursor_not_closed(self): |
| 962 | con = self.connect( |