summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_operator.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-03-26 19:42:58 (GMT)
committerGuido van Rossum <guido@python.org>1998-03-26 19:42:58 (GMT)
commit41360a4696f488e49e5409b3b1baf1fff6ae0044 (patch)
tree9c9b73b7446cc9fc36e09038bf26d889bb5b6f24 /Lib/test/test_operator.py
parentcd0f59ea0824ad6f897f05c2db4d4471e47e6063 (diff)
downloadcpython-41360a4696f488e49e5409b3b1baf1fff6ae0044.zip
cpython-41360a4696f488e49e5409b3b1baf1fff6ae0044.tar.gz
cpython-41360a4696f488e49e5409b3b1baf1fff6ae0044.tar.bz2
Mass check-in after untabifying all files that need it.
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)