]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
adjust this test which passes on some psycopg2s, fails on others, and we dont have...
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Aug 2012 21:50:12 +0000 (17:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 28 Aug 2012 21:50:12 +0000 (17:50 -0400)
testing decorator to check this

test/engine/test_execute.py

index 900a3c8eebc7905a5fbd58b62c792f3dafc1bd84..43c476915c2aaf34acf1b9a08bf0d6a4fb1b13da 100644 (file)
@@ -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",