Skip to content

Commit 2d93bf3

Browse files
Move new test code to extra_test/builtin_format
1 parent e80f65c commit 2d93bf3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

extra_tests/snippets/builtin_format.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,9 @@ def test_zero_padding():
133133
assert f"{3.1415:#.2}" == "3.1"
134134
assert f"{3.1415:#.3}" == "3.14"
135135
assert f"{3.1415:#.4}" == "3.142"
136+
137+
# test issue 4558
138+
x = 123456789012345678901234567890
139+
for i in range(0, 30):
140+
format(x, ',')
141+
x = x // 10

extra_tests/snippets/test_issue_4588.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)