This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unexpected output when running test_format
Type: Stage: resolved
Components: Tests Versions: Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, corona10, eric.smith
Priority: normal Keywords: patch

Created on 2020-11-30 00:51 by ZackerySpytz, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23564 merged ZackerySpytz, 2020-11-30 00:53
Messages (3)
msg382100 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2020-11-30 00:51
./python -We -m test test_format
0:00:00 load avg: 0.64 Run tests sequentially
0:00:00 load avg: 0.64 [1/1] test_format
Unexpected  <class 'TypeError'> : '%d format: a real number is required, not str'
Unexpected  <class 'TypeError'> : '%d format: a real number is required, not str'
Unexpected  <class 'TypeError'> : '%d format: a real number is required, not bytes'
Unexpected  <class 'TypeError'> : '%d format: a real number is required, not bytes'

== Tests result: SUCCESS ==

1 test OK.

Total duration: 180 ms
Tests result: SUCCESS


This seems to be due to the changes in bpo-41974 / e2ec0b27c02a158d0007c11dcc1f2d7a95948712.
msg382122 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-11-30 08:39
New changeset 96545924780da34afc457bc22a869096af985ebf by Zackery Spytz in branch 'master':
bpo-42506: Fix unexpected output in test_format (GH-23564)
https://github.com/python/cpython/commit/96545924780da34afc457bc22a869096af985ebf
msg382123 - (view) Author: Dong-hee Na (corona10) * (Python committer) Date: 2020-11-30 08:39
Thank you ZackerySpytz!
History
Date User Action Args
2022-04-11 14:59:38adminsetgithub: 86672
2020-11-30 08:39:44corona10setstatus: open -> closed
resolution: fixed
messages: + msg382123

stage: patch review -> resolved
2020-11-30 08:39:23corona10setnosy: + corona10
messages: + msg382122
2020-11-30 02:03:08eric.smithsetnosy: + eric.smith
2020-11-30 00:53:53ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request22445
2020-11-30 00:51:24ZackerySpytzcreate