(self, execute_observed, expected_params)
| 325 | return received_statement == stmt |
| 326 | |
| 327 | def _failure_message(self, execute_observed, expected_params): |
| 328 | return ( |
| 329 | "Testing for compiled statement\n%r partial params %s, " |
| 330 | "received\n%%(received_statement)r with params " |
| 331 | "%%(received_parameters)r" |
| 332 | % ( |
| 333 | self._dialect_adjusted_statement( |
| 334 | execute_observed.context.dialect |
| 335 | ).replace("%", "%%"), |
| 336 | repr(expected_params).replace("%", "%%"), |
| 337 | ) |
| 338 | ) |
| 339 | |
| 340 | |
| 341 | class CountStatements(AssertRule): |
nothing calls this directly
no test coverage detected