aboutsummaryrefslogtreecommitdiff
path: root/lldb/third_party/Python/module
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/third_party/Python/module')
-rw-r--r--lldb/third_party/Python/module/unittest2/unittest2/case.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/third_party/Python/module/unittest2/unittest2/case.py b/lldb/third_party/Python/module/unittest2/unittest2/case.py
index 7d6c54eff967..c567037ea8a4 100644
--- a/lldb/third_party/Python/module/unittest2/unittest2/case.py
+++ b/lldb/third_party/Python/module/unittest2/unittest2/case.py
@@ -753,7 +753,7 @@ class TestCase(unittest.TestCase):
elements = (seq_type_name.capitalize(), seq1_repr, seq2_repr)
differing = '%ss differ: %s != %s\n' % elements
- for i in xrange(min(len1, len2)):
+ for i in range(min(len1, len2)):
try:
item1 = seq1[i]
except (TypeError, IndexError, NotImplementedError):