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'