[pypy-svn] r61530 - pypy/trunk/pypy

fijal at codespeak.net fijal at codespeak.net
Tue Feb 3 11:01:09 CET 2009


Author: fijal
Date: Tue Feb  3 11:01:07 2009
New Revision: 61530

Modified:
   pypy/trunk/pypy/conftest.py
Log:
Last missing part for applevel zipimporter tests


Modified: pypy/trunk/pypy/conftest.py
==============================================================================
--- pypy/trunk/pypy/conftest.py	(original)
+++ pypy/trunk/pypy/conftest.py	Tue Feb  3 11:01:07 2009
@@ -149,6 +149,9 @@
     def setattr(self, obj, name, value):
         setattr(obj, name, value)
 
+    def getbuiltinmodule(self, name):
+        return __import__(name)
+
 def translation_test_so_skip_if_appdirect():
     if option.runappdirect:
         py.test.skip("translation test, skipped for appdirect")



More information about the Pypy-commit mailing list