From 383bb3f708168aedb1832050a84ff054f8211386 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 30 Jan 2015 13:38:51 -0500 Subject: - The :class:`.CheckConstraint` construct now supports naming conventions that include the token ``%(column_0_name)s``; the constraint expression is scanned for columns. Additionally, naming conventions for check constraints that don't include the ``%(constraint_name)s`` token will now work for :class:`.SchemaType`- generated constraints, such as those of :class:`.Boolean` and :class:`.Enum`; this stopped working in 0.9.7 due to :ticket:`3067`. fixes #3299 --- test/sql/test_constraints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sql/test_constraints.py') diff --git a/test/sql/test_constraints.py b/test/sql/test_constraints.py index 2603f67a3..eb558fc95 100644 --- a/test/sql/test_constraints.py +++ b/test/sql/test_constraints.py @@ -1063,7 +1063,7 @@ class ConstraintAPITest(fixtures.TestBase): ) assert_raises_message( exc.ArgumentError, - "Column 't2.y' is not part of table 't1'.", + r"Column\(s\) 't2.y' are not part of table 't1'.", Index, "bar", t1.c.x, t2.c.y ) -- cgit v1.2.1