remove xrange and unused variables

This commit is contained in:
Stefan Wojcik
2016-12-09 00:08:59 -05:00
parent 6eb470a821
commit e50b23f047
10 changed files with 58 additions and 57 deletions

View File

@@ -185,7 +185,7 @@ class QTest(unittest.TestCase):
x = IntField()
TestDoc.drop_collection()
for i in xrange(1, 101):
for i in range(1, 101):
t = TestDoc(x=i)
t.save()