提交 d62a44a4 编写于 作者: A Ansgar

dbtest_session.py: use `range` instead of `xrange` to be compatible with Python 3

上级 7f92dd27
......@@ -171,7 +171,7 @@ class SessionTestCase(DBDakTestCase):
self.assertEqual(uid1.uid, uid3.uid)
self.assertTrue(uid3 in new_session)
# test for ressource leaks with mass cloning
for _ in xrange(1, 1000):
for _ in range(1, 1000):
uid1.clone()
def classes_to_clean(self):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册