You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected <class 'TypeError'> exception in test_format #119780
$ ./python -m test test_format
Using random seed: 982853282
0:00:00 load avg: 2.14 Run 1 test sequentially
0:00:00 load avg: 2.14 [1/1] test_format
Unexpected <class 'TypeError'> : '%c requires an integer in range(256) or a single byte, not a bytes object of length 2'
Unexpected <class 'TypeError'> : '%c requires an integer in range(256) or a single byte, not str'
Unexpected <class 'TypeError'> : '%c requires an integer in range(256) or a single byte, not float'
Unexpected <class 'TypeError'> : '%c requires an int or a unicode character, not float'
Unexpected <class 'TypeError'> : '%c requires an int or a unicode character, not a string of length 2'
Unexpected <class 'TypeError'> : '%c requires an int or a unicode character, not bytes'
== Tests result: SUCCESS ==
1 test OK.
Total duration: 171 ms
Total tests: run=18
Total test files: run=1/1
Result: SUCCESS
Activity
Eclips4 commentedon May 30, 2024
cc @serhiy-storchaka
pythongh-119780: Adjust exception messages in Lib/test/test_format.py
Revert "pythongh-119780: Adjust exception messages in Lib/test/test_f…
Revert "Revert "pythongh-119780: Adjust exception messages in Lib/tes…
gh-119780: Adjust exception messages in Lib/test/test_format.py (GH-1…
nineteendo commentedon Jun 2, 2024
skirpichev commentedon Jun 2, 2024
The second part of the issue (test_exc() refactoring) - wasn't fixed.
serhiy-storchaka commentedon Jun 2, 2024
Sure. @skirpichev, do you mind to create a new issue for ignored failures in
test_format?skirpichev commentedon Jun 2, 2024
OK: #119949
pythongh-119780: Adjust exception messages in Lib/test/test_format.py (…
pythongh-119780: Adjust exception messages in Lib/test/test_format.py (…