mirror of https://github.com/python/cpython
Issue #25622: Use repr(bytes) to avoid BytesWarning
This commit is contained in:
parent
7b2eb81997
commit
077e36af25
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue