summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_operator.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_operator.py')
-rw-r--r--Lib/test/test_operator.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_operator.py b/Lib/test/test_operator.py
index ff4cba0..8d3864c 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)