summaryrefslogtreecommitdiff
path: root/tests/test_module.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_module.py')
-rwxr-xr-xtests/test_module.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_module.py b/tests/test_module.py
index e1c065d..ddd6b02 100755
--- a/tests/test_module.py
+++ b/tests/test_module.py
@@ -28,7 +28,7 @@ from subprocess import Popen
import unittest
from .testutils import (skip_before_postgres,
- ConnectingTestCase, skip_copy_if_green, slow)
+ ConnectingTestCase, skip_copy_if_green, slow, StringIO)
import psycopg2
@@ -217,7 +217,6 @@ class ExceptionsTestCase(ConnectingTestCase):
@skip_copy_if_green
def test_diagnostics_copy(self):
- from StringIO import StringIO
f = StringIO()
cur = self.conn.cursor()
try: