[Python-checkins] r77607 - python/trunk/Lib/test/test_hashlib.py
gregory.p.smith
python-checkins at python.org
Tue Jan 19 09:01:00 CET 2010
Author: gregory.p.smith
Date: Tue Jan 19 09:01:00 2010
New Revision: 77607
Log:
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.
Modified:
python/trunk/Lib/test/test_hashlib.py
Modified: python/trunk/Lib/test/test_hashlib.py
==============================================================================
--- python/trunk/Lib/test/test_hashlib.py (original)
+++ python/trunk/Lib/test/test_hashlib.py Tue Jan 19 09:01:00 2010
@@ -140,6 +140,10 @@
# 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,
More information about the Python-checkins
mailing list