summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-12-07 21:17:46 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-12-07 21:17:46 (GMT)
commit7f06187d3101acd1af8221fde8b69d96ae8655a4 (patch)
treea28f3b9512b031d992c128bb985657aa105afa60 /Lib
parent333da5f000a3d5da1b58dd7ca0ebc5237447949e (diff)
downloadcpython-7f06187d3101acd1af8221fde8b69d96ae8655a4.zip
cpython-7f06187d3101acd1af8221fde8b69d96ae8655a4.tar.gz
cpython-7f06187d3101acd1af8221fde8b69d96ae8655a4.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_builtin.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 1dae603..51ef7c6 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -352,7 +352,7 @@ class BuiltinTest(unittest.TestCase):
if numruns:
return
numruns += 1
-
+
globals = {'a': 1, 'b': 2}
locals = {'b': 200, 'c': 300}
@@ -862,12 +862,12 @@ class BuiltinTest(unittest.TestCase):
"max(1, 2, key=int, abc=int)", # two many keywords
"max(1, 2, key=1)", # keyfunc is not callable
):
- try:
- exec(stmt) in globals()
- except TypeError:
- pass
- else:
- self.fail(stmt)
+ try:
+ exec(stmt) in globals()
+ except TypeError:
+ pass
+ else:
+ self.fail(stmt)
self.assertEqual(max((1,), key=neg), 1) # one elem iterable
self.assertEqual(max((1,2), key=neg), 1) # two elem iterable
@@ -908,12 +908,12 @@ class BuiltinTest(unittest.TestCase):
"min(1, 2, key=int, abc=int)", # two many keywords
"min(1, 2, key=1)", # keyfunc is not callable
):
- try:
- exec(stmt) in globals()
- except TypeError:
- pass
- else:
- self.fail(stmt)
+ try:
+ exec(stmt) in globals()
+ except TypeError:
+ pass
+ else:
+ self.fail(stmt)
self.assertEqual(min((1,), key=neg), 1) # one elem iterable
self.assertEqual(min((1,2), key=neg), 2) # two elem iterable