summaryrefslogtreecommitdiff
path: root/Lib/test/test_csv.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_csv.py')
-rw-r--r--Lib/test/test_csv.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
index 0ca6b788aa..d655bf06d7 100644
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -909,7 +909,7 @@ else:
def test_create_read(self):
delta = 0
lastrc = sys.gettotalrefcount()
- for i in xrange(20):
+ for i in range(20):
gc.collect()
self.assertEqual(gc.garbage, [])
rc = sys.gettotalrefcount()
@@ -925,7 +925,7 @@ else:
delta = 0
lastrc = sys.gettotalrefcount()
s = NUL()
- for i in xrange(20):
+ for i in range(20):
gc.collect()
self.assertEqual(gc.garbage, [])
rc = sys.gettotalrefcount()
@@ -941,7 +941,7 @@ else:
delta = 0
rows = ["a,b,c\r\n"]*5
lastrc = sys.gettotalrefcount()
- for i in xrange(20):
+ for i in range(20):
gc.collect()
self.assertEqual(gc.garbage, [])
rc = sys.gettotalrefcount()
@@ -958,7 +958,7 @@ else:
rows = [[1,2,3]]*5
s = NUL()
lastrc = sys.gettotalrefcount()
- for i in xrange(20):
+ for i in range(20):
gc.collect()
self.assertEqual(gc.garbage, [])
rc = sys.gettotalrefcount()