summaryrefslogtreecommitdiff
path: root/tests/test_with.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-28 06:03:46 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-11-28 06:03:46 -0800
commit4c95668c720d2314d89f7a94e782611e1dfb768f (patch)
tree1fe813e4d5d0bb05578b47d272cea5e068375ff1 /tests/test_with.py
parent914ccbacb5a21bd1f7f0bbdc32b01d73bea6dd4e (diff)
downloadpsycopg2-4c95668c720d2314d89f7a94e782611e1dfb768f.tar.gz
Remove "from __future__ import with_statement"
All versions of Python supported by psycopg2 have builtin support for the with statement. The import is unnecessary noise.
Diffstat (limited to 'tests/test_with.py')
-rwxr-xr-xtests/test_with.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/test_with.py b/tests/test_with.py
index e5c0bc2..53dfa46 100755
--- a/tests/test_with.py
+++ b/tests/test_with.py
@@ -22,9 +22,6 @@
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
# License for more details.
-
-from __future__ import with_statement
-
import psycopg2
import psycopg2.extensions as ext