(self)
| 475 | msg = "Recursive use of cursors not allowed" |
| 476 | |
| 477 | def setUp(self): |
| 478 | self.con = sqlite.connect(":memory:", |
| 479 | detect_types=sqlite.PARSE_COLNAMES) |
| 480 | self.cur = self.con.cursor() |
| 481 | self.cur.execute("create table test(x foo)") |
| 482 | self.cur.executemany("insert into test(x) values (?)", |
| 483 | [("foo",), ("bar",)]) |
| 484 | |
| 485 | def tearDown(self): |
| 486 | self.cur.close() |
nothing calls this directly
no test coverage detected