[pypy-commit] pypy py3k: s/__builtin__/builtins

antocuni noreply at buildbot.pypy.org
Tue Feb 21 10:50:42 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52706:a04906e56772
Date: 2012-02-21 00:04 +0100
http://bitbucket.org/pypy/pypy/changeset/a04906e56772/

Log:	s/__builtin__/builtins

diff --git a/pypy/interpreter/test/test_objspace.py b/pypy/interpreter/test/test_objspace.py
--- a/pypy/interpreter/test/test_objspace.py
+++ b/pypy/interpreter/test/test_objspace.py
@@ -287,7 +287,7 @@
         space = self.space
         assert space.builtin 
         w_name = space.wrap('__import__')
-        w_builtin = space.sys.getmodule('__builtin__')
+        w_builtin = space.sys.getmodule('builtins')
         w_import = self.space.getattr(w_builtin, w_name) 
         assert space.is_true(w_import)
 


More information about the pypy-commit mailing list