summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-07-21 02:15:53 +0100
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2020-07-21 22:21:32 +0100
commitf8c1cff6a343bb4d21bd8efef459484f5426f674 (patch)
tree13d0cbcd39d5089711f446963513a3915724e26e /tests/testutils.py
parentee34198bf6a16080bb71d8ab68b354380745b3a8 (diff)
downloadpsycopg2-f8c1cff6a343bb4d21bd8efef459484f5426f674.tar.gz
Skip cancel tests on CockroachDB
One test moved to the async tests module, as it really belongs there.
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index a23457e..ec53ba3 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -409,13 +409,13 @@ def skip_if_windows(cls):
def crdb_version(conn, __crdb_version=[]):
"""
- Return the CockroachDB version if that's the db testing, else None.
+ Return the CockroachDB version if that's the db being tested, else None.
Return the number as an integer similar to PQserverVersion: return
v20.1.3 as 200103.
- Assume all the connections are on the same db: return a chached result on
- following runs.
+ Assume all the connections are on the same db: return a cached result on
+ following calls.
"""
if __crdb_version: