Commit 8f6f4262 authored by Gregory P. Smith's avatar Gregory P. Smith

Add a pydebug mode only debug print to help debug the errors in

 http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/

Will be removed shortly.
parent 9179dab3
......@@ -140,6 +140,10 @@ class HashLibTestCase(unittest.TestCase):
# 2 is for hashlib.name(...) and hashlib.new(name, ...)
self.assertGreaterEqual(len(constructors), 2)
for hash_object_constructor in constructors:
if COMPILED_WITH_PYDEBUG:
# XXX(gps): This is temporary to debug a buildbot failure.
# http://www.python.org/dev/buildbot/all/builders/x86%20gentoo%20trunk/builds/5700/
print "test_hashlib check calling", hash_object_constructor
computed = hash_object_constructor(data).hexdigest()
self.assertEqual(
computed, digest,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment