Author: Brian Kearns <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit