commit | fcf4435ae02c3962a8ad71a9539877060c694468 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sun Nov 27 20:37:43 2005 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sun Nov 27 20:37:43 2005 +0000 |
tree | 66b05ecac0df3d4105c15ee62f6ea8b520e87312 | |
parent | 307021f40b227d2bf114b536c37cc41e03fc2aff [diff] [blame] |
Improve test coverage. Hope the test_file changes work the same on windows.
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py index cb7e992..48c9674 100644 --- a/Lib/test/test_generators.py +++ b/Lib/test/test_generators.py
@@ -1589,6 +1589,11 @@ ... ValueError: 7 +>>> f().throw("abc") # throw on just-opened generator +Traceback (most recent call last): + ... +TypeError: exceptions must be classes, or instances, not str + Now let's try closing a generator: