diff options
Diffstat (limited to 'Lib/test/test_string.py')
-rw-r--r-- | Lib/test/test_string.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_string.py b/Lib/test/test_string.py index 59f8285..3574719 100644 --- a/Lib/test/test_string.py +++ b/Lib/test/test_string.py @@ -20,7 +20,7 @@ def test(name, input, output, *args): f = getattr(string, name) value = apply(f, (input,) + args) except: - value = sys.exc_type + value = sys.exc_type if value != output: if verbose: print 'no' @@ -35,4 +35,3 @@ string_tests.run_method_tests(test) string.whitespace string.lowercase string.uppercase - |