summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_generators.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-02-26 22:22:47 (GMT)
commit2633c69fae7e413b2b64b01d8c0c901ae649a225 (patch)
tree144a1f97f427f019a8ddaae96a8f0da6a09df985 /Lib/test/test_generators.py
parentf543348fff32ae20a9fd2c7f70a3549a3280048c (diff)
downloadcpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.zip
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.gz
cpython-2633c69fae7e413b2b64b01d8c0c901ae649a225.tar.bz2
Remove the exceptions builtin module, all the exceptions are already builtin.
Diffstat (limited to 'Lib/test/test_generators.py')
-rw-r--r--Lib/test/test_generators.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py
index edfcb65..7999034 100644
--- a/Lib/test/test_generators.py
+++ b/Lib/test/test_generators.py
@@ -1691,7 +1691,7 @@ Our ill-behaved code should be invoked during GC:
>>> g.next()
>>> del g
>>> sys.stderr.getvalue().startswith(
-... "Exception exceptions.RuntimeError: 'generator ignored GeneratorExit' in "
+... "Exception RuntimeError: 'generator ignored GeneratorExit' in "
... )
True
>>> sys.stderr = old
@@ -1808,7 +1808,7 @@ to test.
... del l
... err = sys.stderr.getvalue().strip()
... err.startswith(
-... "Exception exceptions.RuntimeError: RuntimeError() in <"
+... "Exception RuntimeError: RuntimeError() in <"
... )
... err.endswith("> ignored")
... len(err.splitlines())