]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-109357: Fix test_monitoring.test_gh108976() (GH-109358) (#109359)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Sep 2023 10:36:30 +0000 (03:36 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 10:36:30 +0000 (12:36 +0200)
commit3d8e4d7d0c674753c45e216f5bd011ed3274dc20
treedffaf76230bf1e73c3c126aad8a9005632e6c05d
parentaee0077e7bed04c9359e0efde0947e6067a412c5
[3.12] gh-109357: Fix test_monitoring.test_gh108976() (GH-109358) (#109359)

gh-109357: Fix test_monitoring.test_gh108976() (GH-109358)

The test now calls free_tool_id() so it can be run multiple times in
the same process. For example, the following command no longer fails:

    python -m test test_monitoring -R 3:3
(cherry picked from commit 388d91cd474de80355f5a8f6a26e8962813a3128)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_monitoring.py