Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 2, 2024

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.

(cherry picked from commit 8fbf10d)

Co-authored-by: Mark Byrne [email protected]
Co-authored-by: Victor Stinner [email protected]

…uting directly (pythonGH-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.
---------

(cherry picked from commit 8fbf10d)

Co-authored-by: Mark Byrne <[email protected]>
Co-authored-by: Victor Stinner <[email protected]>
@Yhg1s Yhg1s merged commit aa6cf9b into python:3.13 Oct 3, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants