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_lines_single, test_lines_loop, and test_lines_two in test_monitoring.LinesMonitoringTest all contain some hardcoded line numbers in their expected values. They should consistently use offsets from co_firstlineno on the relevant code objects instead.
I ran into this while adding a test for gh-115832, and already have a fix ready to put up as a PR.
Bug report
Bug description:
test_lines_single
,test_lines_loop
, andtest_lines_two
intest_monitoring.LinesMonitoringTest
all contain some hardcoded line numbers in their expected values. They should consistently use offsets fromco_firstlineno
on the relevant code objects instead.I ran into this while adding a test for gh-115832, and already have a fix ready to put up as a PR.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: