summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/orm/test_relationships.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/orm/test_relationships.py b/test/orm/test_relationships.py
index 5143d98c5..5979f08ae 100644
--- a/test/orm/test_relationships.py
+++ b/test/orm/test_relationships.py
@@ -1655,7 +1655,7 @@ class FKsAsPksTest(fixtures.MappedTest):
c1 = C()
c1.id = 5
c1.a = None
- with fixture_session() as sess:
+ with Session(connection) as sess:
sess.add(c1)
# test that no error is raised.
sess.flush()