Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Aug 24, 2022

Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed
in del. It makes tests depending on the GC an unreliable on other
implementations. It is better to close the runner explicitly even if
currently there is no a public API for this.
(cherry picked from commit 4de06e3)

Co-authored-by: Serhiy Storchaka [email protected]

@bedevere-botbedevere-bot added the tests Tests in the Lib/test dir label Aug 24, 2022
@miss-islington
Copy link
ContributorAuthor

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
ContributorAuthor

@serhiy-storchaka: Status check is done, and it's a failure ❌ .

@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@miss-islington
Copy link
ContributorAuthor

@serhiy-storchaka: Status check is done, and it's a success ❌ .

… in tests (pythonGH-96135) Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed in __del__. It makes tests depending on the GC an unreliable on other implementations. It is better to tear down the loop explicitly even if currently there is no a public API for this. (cherry picked from commit 4de06e3) Co-authored-by: Serhiy Storchaka <[email protected]>
@serhiy-storchakaserhiy-storchaka merged commit 9b070d3 into python:3.10Aug 28, 2022
@miss-islingtonmiss-islington deleted the backport-4de06e3-3.10 branch August 28, 2022 05:35
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington@serhiy-storchaka@bedevere-bot