12 Commits

Author SHA1 Message Date
Sacha Dupuydauby
76c699b4ba Update contextlib from CPython 3.12 2025-01-12 00:40:41 +09:00
matheusfgoncalves95
515f0bf9c2 Adding generator_stop to compile_future_features (#5320)
* Adding generator_stop to compile_future_features.

* Removing expected failure from PEP 479 unit test.
2024-05-13 23:18:55 +09:00
LYK
ef77e45427 Change error type for bad objects in "with" and "async with"
This patch does not cover all cases of `test_contextlib.py`

`bytecode::Instruction::SetupWith` and `BeforeAsyncWith`
raise a TypeError instead of an AttributeError.

Co-authored-by: Jeong YunWon <69878+youknowone@users.noreply.github.com>
2023-03-08 01:45:12 +09:00
CPython Developers
301b79c688 Update contextlib.py and test_contextlib from CPython 3.11.2 2023-03-08 00:12:07 +09:00
LYK
5d6a48b568 Mark failing tests of test_contextlib.py 2023-03-07 11:20:07 +09:00
CPython Developers
df48df5ede Update test/test_contextlib.py from CPython 3.11.2 2023-03-07 11:19:42 +09:00
Jeong YunWon
6ee827bd8a Fix CR/LF of python libraries 2023-02-28 17:11:41 +09:00
Dean Li
5ee4fb899b test: use os_helper 2021-11-28 20:51:32 +08:00
Chris Moradi
868b680305 more tests passing 2021-11-13 19:26:10 -08:00
Padraic Fanning
02ca1c5403 Clean up skips in test_contextlib 2021-10-10 19:11:24 -04:00
snowapril
2b994f98c5 add annotations for making test success
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-06 18:55:23 +09:00
snowapril
99b7b59986 add test_contextlib.py from cpython 3.8
Signed-off-by: snowapril <sinjihng@gmail.com>
2021-09-06 18:55:23 +09:00