← 返回首页
gh-127949: fix DeprecationWarning in test_inspect.py by graingert · Pull Request #128215 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-127949: fix DeprecationWarning in test_inspect.py#128215

Merged
kumaraditya303 merged 3 commits into
python:mainfrom
graingert:fix-test-inspect-warnings
Dec 24, 2024
Merged

gh-127949: fix DeprecationWarning in test_inspect.py#128215
kumaraditya303 merged 3 commits into
python:mainfrom
graingert:fix-test-inspect-warnings

Conversation

graingert commented Dec 24, 2024
edited
Loading

Copy link
Copy Markdown
Contributor

This works by avoiding asyncio, which is overkill just for running a noop coroutine

bedevere-app Bot added the tests Tests in the Lib/test dir label Dec 24, 2024
graingert changed the title fix DeprecationWarning in test_inspect.py gh-127949: fix DeprecationWarning in test_inspect.py Dec 24, 2024
bedevere-app Bot mentioned this pull request Dec 24, 2024
7 tasks
Comment thread Lib/test/test_inspect/test_inspect.py Outdated Show resolved Hide resolved
graingert force-pushed the fix-test-inspect-warnings branch from 491d488 to 1b13706 Compare December 24, 2024 08:50
graingert marked this pull request as ready for review December 24, 2024 08:58
Comment thread Lib/test/test_inspect/test_inspect.py Show resolved Hide resolved

kumaraditya303 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Thanks!

kumaraditya303 merged commit 3f6a618 into python:main Dec 24, 2024
graingert deleted the fix-test-inspect-warnings branch December 24, 2024 09:43
srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull request Jan 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.