Mike Bayer committed 726fc95

adjust this test which passes on some psycopg2s, fails on others, and we dont have a good
testing decorator to check this

Comments (0)

Files changed (1)


     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")
                 "Exception doesn't come back exactly the same from pickle")