Issue #25622: Use repr(bytes) to avoid BytesWarning

This commit is contained in:
Martin Panter 2015-11-26 02:36:26 +00:00
parent 7b2eb81997
commit 077e36af25
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class PythonValuesTestCase(unittest.TestCase):
if entry.name in bootstrap_expected:
bootstrap_seen.append(entry.name)
self.assertTrue(entry.size,
"{} was reported as having no size".format(entry.name))
"{!r} was reported as having no size".format(entry.name))
continue
items.append((entry.name, entry.size))