summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-03-12 19:46:23 -0700
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2019-03-13 11:13:24 +0000
commitafbbdd18b6d192979fa63ec448b92a21fe3c7a90 (patch)
tree056f4ad481e7713d464789859a243015a3a079d8
parent03bb44dd2ca1e4ff8cd53469e2c5f2fa5361c084 (diff)
downloadpsycopg2-afbbdd18b6d192979fa63ec448b92a21fe3c7a90.tar.gz
Remove unused variable
The variable i is immediately overwritten by the next line.
-rwxr-xr-xtests/test_connection.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py
index ea74e1e..e762f0f 100755
--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -282,7 +282,6 @@ class ConnectionTests(ConnectingTestCase):
cur = conn.cursor()
t1 = threading.Thread(target=committer)
t1.start()
- i = 1
for i in range(1000):
cur.execute("select %s;", (i,))
conn.commit()