Author: Alex Gaynor <[email protected]>
Branch: kill-faking
Changeset: r59248:93b2eca602c8
Date: 2012-12-02 14:28 -0800
http://bitbucket.org/pypy/pypy/changeset/93b2eca602c8/
Log: fix _sha tests
diff --git a/pypy/module/_sha/test/test_sha.py
b/pypy/module/_sha/test/test_sha.py
--- a/pypy/module/_sha/test/test_sha.py
+++ b/pypy/module/_sha/test/test_sha.py
@@ -2,11 +2,11 @@
Tests for the sha module implemented at interp-level in pypy/module/sha.
"""
-import py
-
class AppTestSHA(object):
- spaceconfig = dict(usemodules=['_sha'])
+ spaceconfig = {
+ "usemodules": ['_sha', 'rctime'],
+ }
def setup_class(cls):
cls.w_sha = cls.space.appexec([], """():
@@ -14,7 +14,6 @@
return sha
""")
-
def test_digest_size(self):
"""
Check some numeric values from the sha module.
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit