(self)
| 2231 | |
| 2232 | @testing.emits_warning("Table 't'") |
| 2233 | def test_pk_col_mismatch_three(self): |
| 2234 | m = MetaData() |
| 2235 | t = Table( |
| 2236 | "t", |
| 2237 | m, |
| 2238 | Column("x", Integer, primary_key=True), |
| 2239 | Column("q", Integer), |
| 2240 | PrimaryKeyConstraint("q"), |
| 2241 | ) |
| 2242 | eq_(list(t.primary_key), [t.c.q]) |
| 2243 | |
| 2244 | @testing.emits_warning("Table 't'") |
| 2245 | def test_pk_col_mismatch_four(self): |
nothing calls this directly
no test coverage detected