summaryrefslogtreecommitdiff
path: root/tests/test_cursor.py
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-12-12 16:45:21 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2010-12-21 04:02:13 +0000
commit31093a7a58462617bd4646c7a6613754d761b566 (patch)
tree959dd0546f1edbc58eae411256a3c001ffd2a916 /tests/test_cursor.py
parenta30e461038dba6439980175ca6bc546c96551814 (diff)
downloadpsycopg2-31093a7a58462617bd4646c7a6613754d761b566.tar.gz
Some light cleanup for Py3 conversion.
Either flagged as warning by python2.6 -3 or converted by 2to3.
Diffstat (limited to 'tests/test_cursor.py')
-rw-r--r--tests/test_cursor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cursor.py b/tests/test_cursor.py
index 90b7cf2..aedb5f5 100644
--- a/tests/test_cursor.py
+++ b/tests/test_cursor.py
@@ -18,7 +18,7 @@ class CursorTests(unittest.TestCase):
cur = conn.cursor()
cur.execute("create temp table test_exc (data int);")
def buggygen():
- yield 1/0
+ yield 1//0
self.assertRaises(ZeroDivisionError,
cur.executemany, "insert into test_exc values (%s)", buggygen())
cur.close()