(self)
| 1107 | ) |
| 1108 | |
| 1109 | def test_empty_uc(self): |
| 1110 | # test that an empty constraint is ignored |
| 1111 | metadata = MetaData() |
| 1112 | tbl = Table( |
| 1113 | "test", |
| 1114 | metadata, |
| 1115 | Column("x", Integer, autoincrement=False), |
| 1116 | Column("y", Integer, autoincrement=False), |
| 1117 | UniqueConstraint(), |
| 1118 | ) |
| 1119 | self.assert_compile( |
| 1120 | schema.CreateTable(tbl), "CREATE TABLE test (x INTEGER, y INTEGER)" |
| 1121 | ) |
| 1122 | |
| 1123 | def test_deferrable_column_check(self): |
| 1124 | t = Table( |
nothing calls this directly
no test coverage detected