[Python-checkins] CVS: python/dist/src/Lib/test test_generators.py,1.17.2.2,1.17.2.3
Tim Peters
tim.one@home.com
2001年7月13日 17:59:49 -0400
> Modified Files:
> Tag: descr-branch
> test_generators.py
> Log Message:
> Fix the expected output for assignment to a read-only attribute.
>>> Index: test_generators.py
> ===================================================================
> ! TypeError: readonly attribute
> --- 406,410 ----
> ! TypeError: 'generator' object has only read-only
attributes (assign to .gi_running)
Thanks! That's a much more informative message.