[pypy-commit] pypy default: test _sha.py block size

bdkearns noreply at buildbot.pypy.org
Tue Dec 17 23:25:33 CET 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r68450:737e36faea12
Date: 2013-12-17 17:24 -0500
http://bitbucket.org/pypy/pypy/changeset/737e36faea12/

Log:	test _sha.py block size

diff --git a/pypy/module/test_lib_pypy/test_sha_extra.py b/pypy/module/test_lib_pypy/test_sha_extra.py
--- a/pypy/module/test_lib_pypy/test_sha_extra.py
+++ b/pypy/module/test_lib_pypy/test_sha_extra.py
@@ -8,7 +8,6 @@
 
 
 class AppTestSHA:
-
     spaceconfig = dict(usemodules=('struct',))
 
     def setup_class(cls):
@@ -37,3 +36,4 @@
         assert _sha.blocksize == 1
         assert _sha.new().digest_size == 20
         assert _sha.new().digestsize == 20
+        assert _sha.new().block_size == 64


More information about the pypy-commit mailing list