diff options
Diffstat (limited to 'Lib/sqlite3/test/regression.py')
| -rw-r--r-- | Lib/sqlite3/test/regression.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/sqlite3/test/regression.py b/Lib/sqlite3/test/regression.py index addedb1771..df2a6fb96e 100644 --- a/Lib/sqlite3/test/regression.py +++ b/Lib/sqlite3/test/regression.py @@ -51,10 +51,10 @@ class RegressionTests(unittest.TestCase):          # reset before a rollback, but only those that are still in the          # statement cache. The others are not accessible from the connection object.          con = sqlite.connect(":memory:", cached_statements=5) -        cursors = [con.cursor() for x in xrange(5)] +        cursors = [con.cursor() for x in range(5)]          cursors[0].execute("create table test(x)")          for i in range(10): -            cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in xrange(10)]) +            cursors[0].executemany("insert into test(x) values (?)", [(x,) for x in range(10)])          for i in range(5):              cursors[i].execute(" " * i + "select x from test")  | 
