summaryrefslogtreecommitdiff
path: root/tests/test_copy.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-12-01 17:59:53 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-12-01 18:35:30 -0800
commitfcc083dc123946039fdfc88c55bbd4902dadd52a (patch)
treee7bc96626076c6b00f560ce139e9a23a0a04650f /tests/test_copy.py
parenta51160317c680662c52e4a1a6b4d11beae37f205 (diff)
downloadpsycopg2-fcc083dc123946039fdfc88c55bbd4902dadd52a.tar.gz
Always import the system unittest
There is no need to import testutils.unittest instead of simply unittest. They are simple aliases. Use system unittest to be more regular, consistent as well as idiomatic with the wider Python community.
Diffstat (limited to 'tests/test_copy.py')
-rwxr-xr-xtests/test_copy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_copy.py b/tests/test_copy.py
index c5e7913..d52b802 100755
--- a/tests/test_copy.py
+++ b/tests/test_copy.py
@@ -24,7 +24,8 @@
import sys
import string
-from testutils import (unittest, ConnectingTestCase, decorate_all_tests,
+import unittest
+from testutils import (ConnectingTestCase, decorate_all_tests,
skip_before_postgres, slow)
from cStringIO import StringIO
from itertools import cycle, izip