(self, connection)
| 627 | ) |
| 628 | |
| 629 | def test_empty_insert_pk3(self, connection): |
| 630 | # now warns due to [ticket:3216] |
| 631 | with expect_warnings( |
| 632 | "Column 'c.x' is marked as a member of the primary key for table" |
| 633 | ): |
| 634 | assert_raises( |
| 635 | exc.IntegrityError, |
| 636 | self._test_empty_insert, |
| 637 | connection, |
| 638 | Table( |
| 639 | "c", |
| 640 | MetaData(), |
| 641 | Column("x", Integer, primary_key=True), |
| 642 | Column( |
| 643 | "y", Integer, DefaultClause("123"), primary_key=True |
| 644 | ), |
| 645 | ), |
| 646 | ) |
| 647 | |
| 648 | def test_empty_insert_pk3_fv(self, connection): |
| 649 | assert_raises( |
nothing calls this directly
no test coverage detected