mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #25622: Use repr(bytes) to avoid BytesWarning
This commit is contained in:
parent
7b2eb81997
commit
077e36af25
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ class PythonValuesTestCase(unittest.TestCase):
|
||||||
if entry.name in bootstrap_expected:
|
if entry.name in bootstrap_expected:
|
||||||
bootstrap_seen.append(entry.name)
|
bootstrap_seen.append(entry.name)
|
||||||
self.assertTrue(entry.size,
|
self.assertTrue(entry.size,
|
||||||
"{} was reported as having no size".format(entry.name))
|
"{!r} was reported as having no size".format(entry.name))
|
||||||
continue
|
continue
|
||||||
items.append((entry.name, entry.size))
|
items.append((entry.name, entry.size))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue