summaryrefslogtreecommitdiff
path: root/test/dialect/test_sqlite.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/dialect/test_sqlite.py')
-rw-r--r--test/dialect/test_sqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dialect/test_sqlite.py b/test/dialect/test_sqlite.py
index 448ee947c..95d14e9a0 100644
--- a/test/dialect/test_sqlite.py
+++ b/test/dialect/test_sqlite.py
@@ -223,7 +223,7 @@ class DialectTest(TestBase, AssertsExecutionResults):
table1 = Table("django_admin_log", meta, autoload=True)
table2 = Table("django_content_type", meta, autoload=True)
j = table1.join(table2)
- assert j.onclause == table1.c.content_type_id==table2.c.id
+ assert j.onclause.compare(table1.c.content_type_id==table2.c.id)
finally:
testing.db.execute("drop table django_admin_log")
testing.db.execute("drop table django_content_type")