diff options
Diffstat (limited to 'test/sql/test_selectable.py')
-rw-r--r-- | test/sql/test_selectable.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/sql/test_selectable.py b/test/sql/test_selectable.py index 501cd3776..6a0511faa 100644 --- a/test/sql/test_selectable.py +++ b/test/sql/test_selectable.py @@ -985,14 +985,16 @@ class JoinConditionTest(fixtures.TestBase, AssertsCompiledSQL): t2 = Table('t2', m, Column('id', Integer)) assert_raises_message( exc.NoReferencedColumnError, - "Could not create ForeignKey 't2.q' on table 't1': " + "Could not initialize target column for " + "ForeignKey 't2.q' on table 't1': " "table 't2' has no column named 'q'", sql_util.join_condition, t1, t2 ) assert_raises_message( exc.NoReferencedColumnError, - "Could not create ForeignKey 't2.q' on table 't1': " + "Could not initialize target column for " + "ForeignKey 't2.q' on table 't1': " "table 't2' has no column named 'q'", sql_util.join_condition, t2, t1 ) |