summaryrefslogtreecommitdiff
path: root/tests/testutils.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-11-28 03:04:26 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-11-28 03:04:26 +0000
commitdb0c081d0347f84248d295a1f3eb1b2378a38dff (patch)
treea92d34ec07194eadecc98d5bc893fe2a7a4df0a8 /tests/testutils.py
parenta39d794308cabed87be73cc3405303cfb7398019 (diff)
parent582ec189cc41491b804f9fb391e99b5720d56d27 (diff)
downloadpsycopg2-db0c081d0347f84248d295a1f3eb1b2378a38dff.tar.gz
Merge remote-tracking branch 'jdufresne/uuid'
Diffstat (limited to 'tests/testutils.py')
-rw-r--r--tests/testutils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index e860439..ba31e3b 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -204,11 +204,6 @@ def skip_if_no_uuid(f):
@wraps(f)
def skip_if_no_uuid_(self):
try:
- import uuid # noqa
- except ImportError:
- return self.skipTest("uuid not available in this Python version")
-
- try:
cur = self.conn.cursor()
cur.execute("select typname from pg_type where typname = 'uuid'")
has = cur.fetchone()