Content-Length: 276641 | pFad | https://github.com/python/cpython/pull/99698

AC [3.11] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646) by serhiy-storchaka · Pull Request #99698 · python/cpython · GitHub
Skip to content

[3.11] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646)#99698

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-c210213-3.11
Nov 22, 2022
Merged

[3.11] gh-99645: Fix a bug in handling class cleanups in unittest.TestCase (GH-99646)#99698
serhiy-storchaka merged 1 commit intopython:3.11from
serhiy-storchaka:backport-c210213-3.11

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Nov 22, 2022

Now addClassCleanup() uses separate lists for different TestCase subclasses, and doClassCleanups() only cleans up the particular class.

(cherry picked from commit c210213)

…st.TestCase (pythonGH-99646)

Now addClassCleanup() uses separate lists for different TestCase subclasses,
and doClassCleanups() only cleans up the particular class.
(cherry picked from commit c210213)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/99698

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy