aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-06-18 12:19:32 +0300
committerGitHub <noreply@github.com>2024-06-18 12:19:32 +0300
commit2cf47389e26cb591342d07dad98619916d5a1b15 (patch)
tree9cae9fe3701eb521acb2fbf188aadc73f260987b /Python/executor_cases.c.h
parentac37a806018cc40fafebcd0fa90250c3e0261e0c (diff)
downloadcpython-2cf47389e26cb591342d07dad98619916d5a1b15.tar.gz
cpython-2cf47389e26cb591342d07dad98619916d5a1b15.zip
gh-120590: Fix test_pydoc in the refleak hunting mode (GH-120615)
Mocking only works if sys.modules['pydoc'] and pydoc are the same, but some pydoc functions reload the module and change sys.modules. Ensure that sys.modules['pydoc'] is always restored after the corresponding tests.
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions