(self)
| 6586 | ) |
| 6587 | |
| 6588 | def test_only_one_sentinel(self): |
| 6589 | with expect_raises_message( |
| 6590 | exc.ArgumentError, |
| 6591 | "a Table may have only one explicit sentinel column", |
| 6592 | ): |
| 6593 | Table( |
| 6594 | "t", |
| 6595 | MetaData(), |
| 6596 | Column("id", Integer, primary_key=True, insert_sentinel=True), |
| 6597 | Column("ASdf", String(50)), |
| 6598 | insert_sentinel("sentinel"), |
| 6599 | ) |
| 6600 | |
| 6601 | def test_no_sentinel_default_on_notnull(self): |
| 6602 | with expect_raises_message( |
nothing calls this directly
no test coverage detected