summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_yield_from.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40941: Unify implicit and explicit state in the frame and generator ↵Mark Shannon2020-07-171-0/+3
| | | | | | | objects into a single value. (GH-20803) * Merge gen and frame state variables into one. * Replace stack pointer with depth in PyFrameObject. Makes code easier to read and saves a word of memory.
* bpo-37069: tests use catch_unraisable_exception() (GH-13762)Victor Stinner2019-06-031-2/+4
| | | | | | | | | | | | | Modify test_coroutines, test_cprofile, test_generators, test_raise, test_ssl and test_yield_from to use support.catch_unraisable_exception() rather than support.captured_stderr(). test_thread: remove test_save_exception_state_on_error() which is now updated. test_unraisable_exception() checks that sys.unraisablehook() is called to handle _thread.start_new_thread() exception. test_cprofile now rely on unittest for test discovery: replace support.run_unittest() with unittest.main().
* bpo-30399: Get rid of trailing comma in the repr of BaseException. (#1650)Serhiy Storchaka2017-11-151-9/+9
|
* Remove unused imports.Serhiy Storchaka2016-12-161-3/+0
|
* Issue #23996: Added _PyGen_SetStopIterationValue for safe raisingSerhiy Storchaka2016-11-061-29/+64
| | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue.
* Rename test_pep####.py filesZachary Ware2016-09-091-0/+1017