[Python-checkins] CVS: python/dist/src/Lib/test test_string.py,1.14,1.15

Finn Bock bckfnn@users.sourceforge.net
Sun, 09 Dec 2001 08:06:34 -0800


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv14515

Modified Files:
	test_string.py 
Log Message:
test(): Avoid a UnboundLocalError when a method is missing from both the string
module and from string methods.

This closes patch "[ #490811 ] Jython and test_string".



Index: test_string.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_string.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** test_string.py	2001/01/17 21:51:36	1.14
--- test_string.py	2001/12/09 16:06:29	1.15
***************
*** 22,25 ****
--- 22,26 ----
      except:
          value = sys.exc_type
+         f = name
      if value != output:
          if verbose: