(self)
| 500 | ) |
| 501 | |
| 502 | def test_error_large_list(self): |
| 503 | assert_raises_message( |
| 504 | tsa.exc.DBAPIError, |
| 505 | r".*INSERT INTO nonexistent \(data\) values " |
| 506 | r"\(\?\)\]\n\[parameters: \[\('0',\), \('1',\), \('2',\), " |
| 507 | r"\('3',\), \('4',\), \('5',\), \('6',\), \('7',\) " |
| 508 | r"... displaying " |
| 509 | r"10 of 100 total bound parameter sets ... " |
| 510 | r"\('98',\), \('99',\)\]", |
| 511 | lambda: exec_sql( |
| 512 | self.eng, |
| 513 | "INSERT INTO nonexistent (data) values (?)", |
| 514 | [(str(i),) for i in range(100)], |
| 515 | ), |
| 516 | ) |
| 517 | |
| 518 | |
| 519 | class PoolLoggingTest(fixtures.TestBase): |
nothing calls this directly
no test coverage detected