summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_generators.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-06-08 23:44:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-06-08 23:44:13 (GMT)
commita5a5728cf01446f70c3bd09cc85453fdec71d461 (patch)
tree8e73f76c79f735981af4c33caf32b1b8fad704d6 /Lib/test/test_generators.py
parent8ea4ded9a69ace6f8520615f770308fcdb485bbb (diff)
downloadcpython-a5a5728cf01446f70c3bd09cc85453fdec71d461.zip
cpython-a5a5728cf01446f70c3bd09cc85453fdec71d461.tar.gz
cpython-a5a5728cf01446f70c3bd09cc85453fdec71d461.tar.bz2
remove error checks already done in set_context()
Diffstat (limited to 'Lib/test/test_generators.py')
-rw-r--r--Lib/test/test_generators.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py
index b997ebc..f4c9655 100644
--- a/Lib/test/test_generators.py
+++ b/Lib/test/test_generators.py
@@ -1588,7 +1588,7 @@ SyntaxError: can't assign to yield expression
Traceback (most recent call last):
...
File "<doctest test.test_generators.__test__.coroutine[25]>", line 1
-SyntaxError: augmented assignment to yield expression not possible
+SyntaxError: can't assign to yield expression
Now check some throw() conditions: