summaryrefslogtreecommitdiff
path: root/test/sql/test_constraints.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/sql/test_constraints.py')
-rw-r--r--test/sql/test_constraints.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py
index 246878624..5ea5a7eda 100644
--- a/test/sql/test_constraints.py
+++ b/test/sql/test_constraints.py
@@ -271,12 +271,8 @@ class ConstraintTest(fixtures.TestBase, AssertsExecutionResults, AssertsCompiled
Index, "foo", 5
)
- def test_warn_no_columns(self):
- assert_raises_message(
- exc.SAWarning,
- "No column names or expressions given for Index.",
- Index, "foo"
- )
+ def test_no_warning_w_no_columns(self):
+ Index(name="foo")
def test_raise_clauseelement_not_a_column(self):
m = MetaData()