(self, modulus, paramstyle)
| 688 | argnames="paramstyle", |
| 689 | ) |
| 690 | def test_modulus(self, modulus, paramstyle): |
| 691 | col = column("somecol", modulus()) |
| 692 | self.assert_compile( |
| 693 | col.modulus(), |
| 694 | ( |
| 695 | "somecol %%" |
| 696 | if paramstyle in ("format", "pyformat") |
| 697 | else "somecol %" |
| 698 | ), |
| 699 | dialect=default.DefaultDialect(paramstyle=paramstyle), |
| 700 | ) |
| 701 | |
| 702 | @testing.combinations( |
| 703 | ("format",), |
nothing calls this directly
no test coverage detected