Skip to content
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

gh-95010: fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… #95009

Merged
merged 1 commit into from Jul 21, 2022

Conversation

graingert
Copy link
Contributor

@graingert graingert commented Jul 19, 2022

fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_watcher

the test was never run, because it was missing the TestCase class
the test failed because the wrong attribute was patched

@bedevere-bot bedevere-bot added tests Tests in the Lib/test dir awaiting review labels Jul 19, 2022
@graingert graingert changed the title fix GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… Jul 19, 2022
@graingert graingert force-pushed the fix-generic-watcher-tests branch from 823b0c4 to 9877b92 Compare Jul 19, 2022
@graingert graingert changed the title fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… gh-95009: fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… Jul 19, 2022
@graingert
Copy link
Contributor Author

graingert commented Jul 19, 2022

this is just a test change and doesn't need news

@graingert graingert changed the title gh-95009: fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… gh-95010: fix asyncio GenericWatcherTests.test_create_subprocess_fails_with_inactive_wa… Jul 19, 2022
…s_fails_with_inactive_watcher

the test was never run, because it was missing the TestCase class
the test failed because the wrong attribute was patched
@graingert graingert force-pushed the fix-generic-watcher-tests branch from 4f47e21 to 20b9bd0 Compare Jul 19, 2022
@graingert
Copy link
Contributor Author

graingert commented Jul 19, 2022

It's best to review this in side-by-side mode, because GenericWatcherTests needed to be indented: https://github.com/python/cpython/pull/95009/files?diff=split

@graingert graingert marked this pull request as ready for review Jul 19, 2022
@graingert graingert requested review from 1st1 and asvetlov as code owners Jul 19, 2022
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

👍

@graingert
Copy link
Contributor Author

graingert commented Jul 21, 2022

This should probably be backported to 3.10 as it's needed to verify a bugfix

@serhiy-storchaka serhiy-storchaka merged commit 834bd5d into python:main Jul 21, 2022
12 checks passed
@miss-islington
Copy link
Contributor

miss-islington commented Jul 21, 2022

Thanks @graingert for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒🤖

@bedevere-bot
Copy link

bedevere-bot commented Jul 21, 2022

GH-95092 is a backport of this pull request to the 3.11 branch.

@bedevere-bot
Copy link

bedevere-bot commented Jul 21, 2022

GH-95093 is a backport of this pull request to the 3.10 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 21, 2022
…s_fails_with_inactive_watcher (pythonGH-95009)

The test was never run, because it was missing the TestCase class.
The test failed because the wrong attribute was patched.
(cherry picked from commit 834bd5d)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 21, 2022
…s_fails_with_inactive_watcher (pythonGH-95009)

The test was never run, because it was missing the TestCase class.
The test failed because the wrong attribute was patched.
(cherry picked from commit 834bd5d)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
@graingert graingert deleted the fix-generic-watcher-tests branch Jul 21, 2022
miss-islington added a commit that referenced this pull request Jul 21, 2022
…s_with_inactive_watcher (GH-95009)

The test was never run, because it was missing the TestCase class.
The test failed because the wrong attribute was patched.
(cherry picked from commit 834bd5d)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
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.

None yet

6 participants