diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-26 02:36:26 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-26 02:36:26 (GMT) |
commit | 077e36af2517f609193db682250d072bb70c3fc4 (patch) | |
tree | 2604589df793b9658d8b8a9e82f797a51c56d7d9 /Lib | |
parent | 7b2eb819971a14285434cfce13c6d39af81bf2df (diff) | |
download | cpython-077e36af2517f609193db682250d072bb70c3fc4.zip cpython-077e36af2517f609193db682250d072bb70c3fc4.tar.gz cpython-077e36af2517f609193db682250d072bb70c3fc4.tar.bz2 |
Issue #25622: Use repr(bytes) to avoid BytesWarning
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ctypes/test/test_values.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index b018ca3..c7c78ce 100644 --- a/Lib/ctypes/test/test_values.py +++ b/Lib/ctypes/test/test_values.py @@ -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)) |