commit | ed69aeedb9031d632c169c8c570777426842dce0 | [log] [tgz] |
---|---|---|
author | Finn Bock <bckfnn@worldonline.dk> | Sun Dec 09 16:06:29 2001 +0000 |
committer | Finn Bock <bckfnn@worldonline.dk> | Sun Dec 09 16:06:29 2001 +0000 |
tree | 442ecba07c9735a0b27e48efc8feb0374bc00b00 | |
parent | d08011a0e1ec2f3eeaa089ba69eb9ba68941277f [diff] [blame] |
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".
diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py index 3574719..4c5a60a 100644 --- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py
@@ -21,6 +21,7 @@ value = apply(f, (input,) + args) except: value = sys.exc_type + f = name if value != output: if verbose: print 'no'