[Python-checkins] r52789 - python/trunk/Lib/test/test_sha.py

andrew.kuchling python-checkins at python.org
Sun Nov 19 19:40:01 CET 2006


Author: andrew.kuchling
Date: Sun Nov 19 19:40:01 2006
New Revision: 52789
Modified:
 python/trunk/Lib/test/test_sha.py
Log:
Add a test case of data w/ bytes > 127
Modified: python/trunk/Lib/test/test_sha.py
==============================================================================
--- python/trunk/Lib/test/test_sha.py	(original)
+++ python/trunk/Lib/test/test_sha.py	Sun Nov 19 19:40:01 2006
@@ -40,6 +40,9 @@
 self.check("a" * 1000000,
 "34aa973cd4c4daa4f61eeb2bdbad27316534016f")
 
+ def test_case_4(self):
+ self.check(chr(0xAA) * 80,
+ '4ca0ef38f1794b28a8f8ee110ee79d48ce13be25')
 
 def test_main():
 test_support.run_unittest(SHATestCase)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /