Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r82392:9b79c1399d57
Date: 2016-02-22 16:36 +0100
http://bitbucket.org/pypy/pypy/changeset/9b79c1399d57/
Log: Remove unneeded and broken hack.
For some reason the hack resulted in later tests failing (e.g.
AppTestUnicodeFormat.test_oldstyle_custom_format()).
diff --git a/pypy/objspace/std/test/test_iterobject.py
b/pypy/objspace/std/test/test_iterobject.py
--- a/pypy/objspace/std/test/test_iterobject.py
+++ b/pypy/objspace/std/test/test_iterobject.py
@@ -91,8 +91,6 @@
raises(TypeError, len, iter(iterable))
def test_no_len_on_UserList_iter_reversed(self):
- import sys, collections.abc
- sys.modules['collections'] = collections.abc
class UserList(object):
def __init__(self, i):
self.i = i
@@ -101,7 +99,6 @@
iterable = UserList([1,2,3,4])
raises(TypeError, len, iter(iterable))
raises(TypeError, reversed, iterable)
- del sys.modules['collections']
def test_no_len_on_UserList_reversed(self):
iterable = [1,2,3,4]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit