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
test_example fails when run with Python 3.14 alpha 5. I've tried to debug it and it seems that the problem is in the example called blank_visible.
The expected output is:
Traceback (most recent call last):
File "formatter_example.py", line 85, in blank_lines
79 | def blank_lines():
80 | a = [1, 2, 3]
81 |
82 | length = len(a)
83 |
84 |
--> 85 | return a[length]
^^^^^^^^^
IndexError: list index out of range
The real one is:
Traceback (most recent call last):
File "formatter_example.py", line 85, in blank_lines
79 | def blank_lines():
80 | a = [1, 2, 3]
81 |
82 | length = len(a)
83 |
84 |
--> 85 | return a[length]
IndexError: list index out of range
I'm not sure why the line with ^^^^ is missing. When I try to run the same code in 3.13 and 3.1a5, the formatting of the exceptions seems to be identical.
The text was updated successfully, but these errors were encountered:
test_example
fails when run with Python 3.14 alpha 5. I've tried to debug it and it seems that the problem is in the example calledblank_visible
.The expected output is:
The real one is:
I'm not sure why the line with ^^^^ is missing. When I try to run the same code in 3.13 and 3.1a5, the formatting of the exceptions seems to be identical.
The text was updated successfully, but these errors were encountered: