[pypy-commit] pypy py3k: we need itertools for test_copy

antocuni noreply at buildbot.pypy.org
Fri Nov 2 18:12:19 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r58677:cfab5e128cdb
Date: 2012-11-02 18:09 +0100
http://bitbucket.org/pypy/pypy/changeset/cfab5e128cdb/

Log:	we need itertools for test_copy

diff --git a/pypy/module/_collections/test/test_defaultdict.py b/pypy/module/_collections/test/test_defaultdict.py
--- a/pypy/module/_collections/test/test_defaultdict.py
+++ b/pypy/module/_collections/test/test_defaultdict.py
@@ -3,7 +3,7 @@
 
 class AppTestBasic:
     def setup_class(cls):
-        cls.space = gettestobjspace(usemodules=['_collections'])
+        cls.space = gettestobjspace(usemodules=['_collections', 'itertools'])
 
     def test_basics(self):
         from _collections import defaultdict
diff --git a/pypy/module/_collections/test/test_deque.py b/pypy/module/_collections/test/test_deque.py
--- a/pypy/module/_collections/test/test_deque.py
+++ b/pypy/module/_collections/test/test_deque.py
@@ -3,7 +3,7 @@
 
 class AppTestBasic:
     def setup_class(cls):
-        cls.space = gettestobjspace(usemodules=['_collections'])
+        cls.space = gettestobjspace(usemodules=['_collections', 'itertools'])
 
     def test_basics(self):
         from _collections import deque


More information about the pypy-commit mailing list