[pypy-svn] r79673 - pypy/trunk/lib_pypy/pypy_test

arigo at codespeak.net arigo at codespeak.net
Tue Nov 30 14:19:00 CET 2010


Author: arigo
Date: Tue Nov 30 14:18:59 2010
New Revision: 79673

Modified:
   pypy/trunk/lib_pypy/pypy_test/test_hashlib.py
Log:
Fix: sha1 might be the RPython-specific version instead of the one from _hashlib.

Modified: pypy/trunk/lib_pypy/pypy_test/test_hashlib.py
==============================================================================
--- pypy/trunk/lib_pypy/pypy_test/test_hashlib.py	(original)
+++ pypy/trunk/lib_pypy/pypy_test/test_hashlib.py	Tue Nov 30 14:18:59 2010
@@ -6,7 +6,7 @@
 from .. import hashlib, _hashlib
 
 def test_unicode():
-    assert isinstance(hashlib.new('sha1', u'xxx'), _hashlib.hash)
+    assert isinstance(hashlib.new('sha256', u'xxx'), _hashlib.hash)
 
 def test_attributes():
     for name, expected_size in {'md5': 16,



More information about the Pypy-commit mailing list