diff options
Diffstat (limited to 'tests/basics/generator_throw.py')
-rw-r--r-- | tests/basics/generator_throw.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/basics/generator_throw.py b/tests/basics/generator_throw.py index 067ab2b8e..536f50082 100644 --- a/tests/basics/generator_throw.py +++ b/tests/basics/generator_throw.py @@ -41,13 +41,3 @@ print(g.throw(GeneratorExit)) g = gen() print(next(g)) print(g.throw(GeneratorExit())) - -# thrown an instance with None as second arg -g = gen() -print(next(g)) -print(g.throw(GeneratorExit(), None)) - -# thrown a class and instance -g = gen() -print(next(g)) -print(g.throw(GeneratorExit, GeneratorExit(123))) |