summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-08-10 21:25:24 (GMT)
committerGuido van Rossum <guido@python.org>2001-08-10 21:25:24 (GMT)
commit61cf780b6dba2f1381391a9a7d406a12d7a415da (patch)
tree975c548bff36d9bb1742bd7610bc497129591681 /Lib/test
parent13d52f0b3289e34298fbf5d3912cb642f3d2fbd9 (diff)
downloadcpython-61cf780b6dba2f1381391a9a7d406a12d7a415da.zip
cpython-61cf780b6dba2f1381391a9a7d406a12d7a415da.tar.gz
cpython-61cf780b6dba2f1381391a9a7d406a12d7a415da.tar.bz2
The message accompanying the TypeError exception on a readonly
attribute changed again.
Diffstat (limited to 'Lib/test')
-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 72a70ec..2476a27 100644
--- a/Lib/test/test_generators.py
+++ b/Lib/test/test_generators.py
@@ -405,7 +405,7 @@ And more, added later.
>>> i.gi_running = 42
Traceback (most recent call last):
...
-TypeError: 'generator' object has only read-only attributes (assign to .gi_running)
+TypeError: readonly attribute
>>> def g():
... yield me.gi_running
>>> me = g()