(self)
| 411 | self._verify_records(data) |
| 412 | |
| 413 | def test_bulk_insert_single_record(self): |
| 414 | conn = self.connect() |
| 415 | cursor = conn.cursor() |
| 416 | data = [(0, "bob", 21, 123)] |
| 417 | cursor.executemany( |
| 418 | "insert into bulkinsert (id, name, age, height) values (%s,%s,%s,%s)", |
| 419 | data, |
| 420 | ) |
| 421 | cursor.execute("commit") |
| 422 | self._verify_records(data) |
| 423 | |
| 424 | def test_issue_288(self): |
| 425 | """executemany should work with "insert ... on update""" |
nothing calls this directly
no test coverage detected