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

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


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r52699:c29adf6b388b
Date: 2012-02-20 22:50 +0100
http://bitbucket.org/pypy/pypy/changeset/c29adf6b388b/

Log:	s/__builtin__/builtins

diff --git a/pypy/interpreter/test/test_pyframe.py b/pypy/interpreter/test/test_pyframe.py
--- a/pypy/interpreter/test/test_pyframe.py
+++ b/pypy/interpreter/test/test_pyframe.py
@@ -30,9 +30,9 @@
         assert f.f_globals is globals()
 
     def test_f_builtins(self):
-        import sys, __builtin__
+        import sys, builtins
         f = sys._getframe()
-        assert f.f_builtins is __builtin__.__dict__
+        assert f.f_builtins is builtins.__dict__
 
     def test_f_code(self):
         def g():


More information about the pypy-commit mailing list