cpython: be85914b611c (original) (raw)

new file mode 100644 --- /dev/null +++ b/Lib/test/test_pep380.py @@ -0,0 +1,842 @@ +# -- coding: utf-8 -- + +""" +Test suite for PEP 380 implementation + +adapted from original tests written by Greg Ewing +see http://www.cosc.canterbury.ac.nz/greg.ewing/python/yield-from/YieldFrom-Python3.1.2-rev5.zip +""" + +import unittest +import io +import sys +import traceback +import parser + +from test.support import captured_stderr + +class TestPEP380Operation(unittest.TestCase):

+

+

+

+

+

+

+

+

+

+

+ +

+

+ +

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+

+ + +def test_main():

+ + +if name == 'main':