From 41360a4696f488e49e5409b3b1baf1fff6ae0044 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Mar 1998 19:42:58 +0000 Subject: Mass check-in after untabifying all files that need it. --- Lib/test/test_operator.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/test/test_operator.py') diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py index ff4cba0576..8d3864c50d 100644 --- a/Lib/test/test_operator.py +++ b/Lib/test/test_operator.py @@ -6,11 +6,11 @@ def test(name, input, output, *args): f = getattr(operator, name) params = (input,) + args try: - val = apply(f, params) + val = apply(f, params) except: - val = sys.exc_type + val = sys.exc_type if val <> output: - print '%s%s = %s: %s expected' % (f.__name__, params, `val`, `output`) + print '%s%s = %s: %s expected' % (f.__name__, params, `val`, `output`) test('abs', -1, 1) test('add', 3, 7, 4) -- cgit v1.2.1