Skip to content

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

Merged
merged 3 commits into from
Feb 23, 2024

Conversation

swtaarrs
Copy link
Member

Some of the expected line numbers are already offsets from co_firstlineno, but a few more needed to be converted.

Some of the expected line numbers are already offsets from `co_firstlineno`,
but a few more needed to be converted.

- Issue: pythongh-115836
Copy link
Member

@carljm carljm left a 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``.
Copy link
Member

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...)

Copy link
Member Author

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.

@carljm carljm enabled auto-merge (squash) February 23, 2024 03:01
@carljm carljm merged commit a494a3d into python:main Feb 23, 2024
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants