summaryrefslogtreecommitdiff
path: root/tests/test_cursor.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-07-27 22:58:43 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-07-27 23:03:26 +0100
commit6eb4fab1dbed047166bca9b83114f416df41b757 (patch)
treea4ac72033c4c96b181a7423de0450a58e816f379 /tests/test_cursor.py
parent5e957daa8237bfa1e0d1becc1e5637a161331664 (diff)
downloadpsycopg2-6eb4fab1dbed047166bca9b83114f416df41b757.tar.gz
Added reason for skipping on CockroachDB
Diffstat (limited to 'tests/test_cursor.py')
-rwxr-xr-xtests/test_cursor.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_cursor.py b/tests/test_cursor.py
index cc78338..d293b2b 100755
--- a/tests/test_cursor.py
+++ b/tests/test_cursor.py
@@ -213,7 +213,7 @@ class CursorTests(ConnectingTestCase):
self.assertEqual(c.precision, None)
self.assertEqual(c.scale, None)
- @skip_if_crdb
+ @skip_if_crdb("table oid")
def test_description_extra_attribs(self):
curs = self.conn.cursor()
curs.execute("""
@@ -271,7 +271,7 @@ class CursorTests(ConnectingTestCase):
# It would be inappropriate to test callproc's named parameters in the
# DBAPI2.0 test section because they are a psycopg2 extension.
@skip_before_postgres(9, 0)
- @skip_if_crdb
+ @skip_if_crdb("stored procedure")
def test_callproc_dict(self):
# This parameter name tests for injection and quote escaping
paramname = '''
@@ -309,7 +309,7 @@ class CursorTests(ConnectingTestCase):
@skip_if_no_superuser
@skip_if_windows
- @skip_if_crdb
+ @skip_if_crdb("backend pid")
@skip_before_postgres(8, 4)
def test_external_close_sync(self):
# If a "victim" connection is closed by a "control" connection
@@ -327,7 +327,7 @@ class CursorTests(ConnectingTestCase):
@skip_if_no_superuser
@skip_if_windows
- @skip_if_crdb
+ @skip_if_crdb("backend pid")
@skip_before_postgres(8, 4)
def test_external_close_async(self):
# Issue #443 is in the async code too. Since the fix is duplicated,
@@ -403,7 +403,7 @@ class CursorTests(ConnectingTestCase):
self.assert_(curs.pgresult_ptr is None)
-@skip_if_crdb
+@skip_if_crdb("named cursor")
class NamedCursorTests(ConnectingTestCase):
def test_invalid_name(self):
curs = self.conn.cursor()