(self)
| 431 | self._verify_records(data) |
| 432 | |
| 433 | def test_bulk_insert_single_record(self): |
| 434 | conn = self.connect() |
| 435 | cursor = conn.cursor() |
| 436 | data = [(0, "bob", 21, 123)] |
| 437 | cursor.executemany( |
| 438 | "insert into bulkinsert (id, name, age, height) values (%s,%s,%s,%s)", |
| 439 | data, |
| 440 | ) |
| 441 | cursor.execute("commit") |
| 442 | self._verify_records(data) |
| 443 | |
| 444 | def test_issue_288(self): |
| 445 | """executemany should work with "insert ... on update""" |
nothing calls this directly
no test coverage detected