From: Mike Bayer Date: Tue, 28 Aug 2012 21:50:12 +0000 (-0400) Subject: adjust this test which passes on some psycopg2s, fails on others, and we dont have... X-Git-Tag: rel_0_8_0b1~193^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1c2b7aff8470f5566c61de7dc2f69bca969dac5;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git adjust this test which passes on some psycopg2s, fails on others, and we dont have a good testing decorator to check this --- 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",