We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cc2c41 commit 9654592Copy full SHA for 9654592
Lib/test/test_format.py
@@ -275,9 +275,9 @@ def test_common_format(self):
275
test_exc_common('% %s', 1, ValueError,
276
"unsupported format character '%' (0x25) at index 2")
277
test_exc_common('%d', '1', TypeError,
278
- "%d format: a number is required, not str")
+ "%d format: a real number is required, not str")
279
test_exc_common('%d', b'1', TypeError,
280
- "%d format: a number is required, not bytes")
+ "%d format: a real number is required, not bytes")
281
test_exc_common('%x', '1', TypeError,
282
"%x format: an integer is required, not str")
283
test_exc_common('%x', 3.14, TypeError,
0 commit comments