summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/orm/test_unitofwork.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py
index f9c565c86..4f49461c2 100644
--- a/test/orm/test_unitofwork.py
+++ b/test/orm/test_unitofwork.py
@@ -3550,6 +3550,15 @@ class NoRowInsertedTest(fixtures.TestBase):
"RETURNING my_table.id"
)
parameters = {}
+ else:
+ assert not testing.against(
+ "postgresql"
+ ), "this test has to at least run on PostgreSQL"
+ testing.config.skip_test(
+ "backend doesn't support the expected form of "
+ "RETURNING for this test to work"
+ )
+
return statement, parameters
return MyClass