-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-115836: Don't use hardcoded line numbers in test_monitoring #115837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Some of the expected line numbers are already offsets from `co_firstlineno`, but a few more needed to be converted. - Issue: pythongh-115836
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, thanks!
@@ -0,0 +1 @@ | |||
Stop using hardcoded line numbers in ``test_monitoring``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't really need this for a non-user-facing change. This PR is a reasonable case for the skip-news label (which I know you can't currently apply yourself...)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I was wondering about when that's appropriate. I almost asked someone to add the label but it was quicker to add a news entry with blurb-it :). I'll keep this in mind for the future.
Some of the expected line numbers are already offsets from
co_firstlineno
, but a few more needed to be converted.