Author: Carl Friedrich Bolz <[email protected]>
Branch: list-strategies
Changeset: r47679:5d5218bab720
Date: 2011-09-29 14:34 +0200
http://bitbucket.org/pypy/pypy/changeset/5d5218bab720/
Log: half the time
diff --git a/pypy/objspace/std/test/test_obj.py
b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -182,8 +182,8 @@
l.append(s)
l.append(self.unwrap_wrap_unicode(s))
- for a in l:
- for b in l:
+ for i, a in enumerate(l):
+ for b in l[i:]:
assert (a is b) == (id(a) == id(b))
if a is b:
assert a == b
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit