FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update test/test_with.py from CPython 3.11.2 by dalinaum · Pull Request #4648 · RustPython/RustPython · GitHub

Update test/test_with.py from CPython 3.11.2 - #4648

Merged
youknowone merged 2 commits into
RustPython:mainfrom
dalinaum:test_with
Mar 7, 2023
Merged

Update test/test_with.py from CPython 3.11.2#4648
youknowone merged 2 commits into
RustPython:mainfrom
dalinaum:test_with

Conversation

dalinaum commented Mar 6, 2023

Copy link
Copy Markdown
Contributor

#4564
Tests related to python/cpython#26809 have been marked as failing tests.

CPython Developers and others added 2 commits March 7, 2023 04:51
A TypeError is raised instead of an AttributeError in "with" and
"async with" statements for objects which do not support the context
manager or asynchronous context manager protocols correspondingly.

See also:
python/cpython#26809

fanninpm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM.

@youknowone we should probably follow up on this change in error type.

youknowone merged commit 3fe5a36 into RustPython:main Mar 7, 2023
dalinaum deleted the test_with branch March 7, 2023 04:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL