diff options
| author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-11-26 14:46:53 -0800 |
|---|---|---|
| committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-11-26 14:46:53 -0800 |
| commit | 582ec189cc41491b804f9fb391e99b5720d56d27 (patch) | |
| tree | 0bb6a182d12f8e1e75044c1ba966606b6b63c3e8 /tests/testutils.py | |
| parent | 858bc3d42a4dfc65f6ec21e7ad28959f8255ab28 (diff) | |
| download | psycopg2-582ec189cc41491b804f9fb391e99b5720d56d27.tar.gz | |
Remove uuid workaround for older Pythons
uuid is available on all Python versions supported by psycopg2.
Diffstat (limited to 'tests/testutils.py')
| -rw-r--r-- | tests/testutils.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/testutils.py b/tests/testutils.py index 5c192e3..033aba8 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() |
