A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2001-July/018889.html below:

[Python-checkins] CVS: python/dist/src/Lib/test test_generators.py,1.17.2.2,1.17.2.3

[Python-checkins] CVS: python/dist/src/Lib/test test_generators.py,1.17.2.2,1.17.2.3Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 13 Jul 2001 14:49:35 -0700
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv22862

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
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_generators.py,v
retrieving revision 1.17.2.2
retrieving revision 1.17.2.3
diff -C2 -r1.17.2.2 -r1.17.2.3
*** test_generators.py	2001/07/08 04:30:29	1.17.2.2
--- test_generators.py	2001/07/13 21:49:33	1.17.2.3
***************
*** 406,410 ****
  Traceback (most recent call last):
    ...
! TypeError: readonly attribute
  >>> def g():
  ...     yield me.gi_running
--- 406,410 ----
  Traceback (most recent call last):
    ...
! TypeError: 'generator' object has only read-only attributes (assign to .gi_running)
  >>> def g():
  ...     yield me.gi_running




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4