[pypy-commit] pypy default: binascii is no longer there, use _functools instead

antocuni noreply at buildbot.pypy.org
Thu Mar 22 17:32:08 CET 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r53917:903a3a64b847
Date: 2012-03-22 17:30 +0100
http://bitbucket.org/pypy/pypy/changeset/903a3a64b847/

Log:	binascii is no longer there, use _functools instead

diff --git a/pypy/tool/test/test_lib_pypy.py b/pypy/tool/test/test_lib_pypy.py
--- a/pypy/tool/test/test_lib_pypy.py
+++ b/pypy/tool/test/test_lib_pypy.py
@@ -11,7 +11,7 @@
     assert lib_pypy.LIB_PYTHON_MODIFIED.check(dir=1)
 
 def test_import_from_lib_pypy():
-    binascii = lib_pypy.import_from_lib_pypy('binascii')
-    assert type(binascii) is type(lib_pypy)
-    assert binascii.__name__ == 'lib_pypy.binascii'
-    assert hasattr(binascii, 'crc_32_tab')
+    _functools = lib_pypy.import_from_lib_pypy('_functools')
+    assert type(_functools) is type(lib_pypy)
+    assert _functools.__name__ == 'lib_pypy._functools'
+    assert hasattr(_functools, 'partial')


More information about the pypy-commit mailing list