[pypy-commit] pypy py3.3-fixes3: fix unbound variable
numerodix
noreply at buildbot.pypy.org
Mon Aug 18 01:05:42 CEST 2014
Author: Martin Matusiak <numerodix at gmail.com>
Branch: py3.3-fixes3
Changeset: r72859:7bdae69fd02e
Date: 2014-08-17 18:03 +0200
http://bitbucket.org/pypy/pypy/changeset/7bdae69fd02e/
Log: fix unbound variable
diff --git a/lib-python/3/test/test_hashlib.py b/lib-python/3/test/test_hashlib.py
--- a/lib-python/3/test/test_hashlib.py
+++ b/lib-python/3/test/test_hashlib.py
@@ -142,7 +142,7 @@
def test_hexdigest(self):
for cons in self.hash_constructors:
h = cons()
- assert isinstance(h.digest(), bytes), name
+ assert isinstance(h.digest(), bytes), cons.__name__
self.assertEqual(hexstr(h.digest()), h.hexdigest())
def test_large_update(self):
More information about the pypy-commit
mailing list