diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-11-19 18:40:01 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-11-19 18:40:01 (GMT) |
commit | 9eec51c04ff9d04c74724aa6cd499457b64c75f9 (patch) | |
tree | fa0ed53a94e0d597fb6d725ef6eae78d6585a991 | |
parent | cffcc8b195d0086d6089ac4563ac17b4c95471e3 (diff) | |
download | cpython-9eec51c04ff9d04c74724aa6cd499457b64c75f9.zip cpython-9eec51c04ff9d04c74724aa6cd499457b64c75f9.tar.gz cpython-9eec51c04ff9d04c74724aa6cd499457b64c75f9.tar.bz2 |
Add a test case of data w/ bytes > 127
-rw-r--r-- | Lib/test/test_sha.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_sha.py b/Lib/test/test_sha.py index 47c540f..ea224e4 100644 --- a/Lib/test/test_sha.py +++ b/Lib/test/test_sha.py @@ -40,6 +40,9 @@ class SHATestCase(unittest.TestCase): self.check("a" * 1000000, "34aa973cd4c4daa4f61eeb2bdbad27316534016f") + def test_case_4(self): + self.check(chr(0xAA) * 80, + '4ca0ef38f1794b28a8f8ee110ee79d48ce13be25') def test_main(): test_support.run_unittest(SHATestCase) |