From ed17afc0711de3dfdc38a2071237ef155401ed50 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Fri, 21 Apr 2023 15:17:39 -0400 Subject: [PATCH] restore fallback for uow test in cf6872d3bdf1a8a9613e85369 I decided this test should be able to run in all cases, however apparently on windows / py37 on GH actions something goes wrong, so restore the skip to that case. Change-Id: Iaf4db313c20ce30469032af930b7dc86417d0705 --- test/orm/test_unitofwork.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/orm/test_unitofwork.py b/test/orm/test_unitofwork.py index f9c565c864..4f49461c24 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 -- 2.47.2