Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r58685:10bed9003b7c
Date: 2012-11-02 18:34 +0100
http://bitbucket.org/pypy/pypy/changeset/10bed9003b7c/

Log:    more and more itertools

diff --git a/pypy/module/cpyext/test/conftest.py 
b/pypy/module/cpyext/test/conftest.py
--- a/pypy/module/cpyext/test/conftest.py
+++ b/pypy/module/cpyext/test/conftest.py
@@ -10,7 +10,7 @@
     return False
 
 def pytest_funcarg__space(request):
-    return gettestobjspace(usemodules=['cpyext', 'thread', '_rawffi', 'array'])
+    return gettestobjspace(usemodules=['cpyext', 'thread', '_rawffi', 'array', 
'itertools'])
 
 def pytest_funcarg__api(request):
     return request.cls.api
diff --git a/pypy/module/gc/test/test_gc.py b/pypy/module/gc/test/test_gc.py
--- a/pypy/module/gc/test/test_gc.py
+++ b/pypy/module/gc/test/test_gc.py
@@ -105,8 +105,10 @@
 
 
 class AppTestGcMethodCache(object):
+    
     def setup_class(cls):
-        cls.space = gettestobjspace(**{"objspace.std.withmethodcache": True})
+        cls.space = gettestobjspace(**{"objspace.std.withmethodcache": True,
+                                       "usemodules": ['itertools']})
 
     def test_clear_method_cache(self):
         import gc, weakref
@@ -129,7 +131,8 @@
 class AppTestGcMapDictIndexCache(AppTestGcMethodCache):
     def setup_class(cls):
         cls.space = gettestobjspace(**{"objspace.std.withmethodcache": True,
-                                       "objspace.std.withmapdict": True})
+                                       "objspace.std.withmapdict": True,
+                                       "usemodules": ['itertools']})
 
 
     def test_clear_index_cache(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to