Closed
Description
Bug report
Bug description:
The location in the traceback for this failed assertion:
test = 3
assert test == 1 and test == 2, "Bug found?"
Seems to be wrong. It should show test == 1
as the source of the error:
Traceback (most recent call last):
File "/home/.../test.py", line 3, in <module>
assert test == 1 and test == 2, "Bug found?"
^^^^^^^^^
AssertionError: Bug found?
CPython versions tested on:
3.11
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
An unexpected behavior, bug, or errorAn unexpected behavior, bug, or error