From d1c2b7aff8470f5566c61de7dc2f69bca969dac5 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 28 Aug 2012 17:50:12 -0400 Subject: [PATCH] adjust this test which passes on some psycopg2s, fails on others, and we dont have a good testing decorator to check this --- test/engine/test_execute.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/engine/test_execute.py b/test/engine/test_execute.py index 900a3c8eeb..43c476915c 100644 --- a/test/engine/test_execute.py +++ b/test/engine/test_execute.py @@ -241,8 +241,8 @@ class ExecuteTest(fixtures.TestBase): def test_stmt_exception_pickleable_no_dbapi(self): self._test_stmt_exception_pickleable(Exception("hello world")) - @testing.fails_on("postgresql+psycopg2", - "Packages the cursor in the exception") + @testing.crashes("postgresql+psycopg2", + "Older versions dont support cursor pickling, newer ones do") @testing.fails_on("mysql+oursql", "Exception doesn't come back exactly the same from pickle") @testing.fails_on("oracle+cx_oracle", -- 2.47.3