diff --git a/Lib/ctypes/test/test_values.py b/Lib/ctypes/test/test_values.py index b018ca30136..c7c78ce4e59 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))