gh-122864: Fix a ``test_funcattrs.test___builtins__`` when executing directly (#124845)
Previously when executing ``test_functattrs.test___builtins__`` directly, it failed because the fact, that ``__builtins__`` is refers to the built-in module ``builtins`` while it's expects a ``__builtins__.__dict__``. But when this test is being run from another module, then ``__builtins__`` is refers to ``builtins.__dict__``. Now this part of the behaviour is covered. --------- Co-authored-by: Victor Stinner <vstinner@python.org>
M
Mark Byrne committed
8fbf10d6cfd9c69ffcc1f80fa0c5f33785197af7
Parent: 6737333
Committed by GitHub <noreply@github.com>
on 10/2/2024, 9:58:39 AM