diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-12 16:45:21 +0000 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2010-12-21 04:02:13 +0000 |
| commit | 31093a7a58462617bd4646c7a6613754d761b566 (patch) | |
| tree | 959dd0546f1edbc58eae411256a3c001ffd2a916 /tests/test_cursor.py | |
| parent | a30e461038dba6439980175ca6bc546c96551814 (diff) | |
| download | psycopg2-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.py | 2 |
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() |
