summaryrefslogtreecommitdiffstats
path: root/ipatests/test_ipalib/test_frontend.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipatests/test_ipalib/test_frontend.py')
-rw-r--r--ipatests/test_ipalib/test_frontend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_ipalib/test_frontend.py b/ipatests/test_ipalib/test_frontend.py
index 3798c4ed8..c74646dc1 100644
--- a/ipatests/test_ipalib/test_frontend.py
+++ b/ipatests/test_ipalib/test_frontend.py
@@ -940,7 +940,7 @@ class test_Object(ClassChecker):
def get_attributes(cnt, format):
for name in ['other', 'user', 'another']:
- for i in xrange(cnt):
+ for i in range(cnt):
yield DummyAttribute(name, format % i)
cnt = 10
@@ -970,7 +970,7 @@ class test_Object(ClassChecker):
assert isinstance(namespace, plugable.NameSpace)
assert len(namespace) == cnt
f = methods_format
- for i in xrange(cnt):
+ for i in range(cnt):
attr_name = f % i
attr = namespace[attr_name]
assert isinstance(attr, DummyAttribute)