summaryrefslogtreecommitdiff
path: root/Lib/test
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-07-16 21:35:23 +0000
committerTim Peters <tim.peters@gmail.com>2002-07-16 21:35:23 +0000
commitc411dbaeee29dba87d5432a92fe76ea65d8e25f0 (patch)
tree45b71b45b9b5c2f2ddc1b644166208cd041f076c /Lib/test
parent8531b1b28de5356f1154e13704d499121ea72af8 (diff)
downloadcpython-git-c411dbaeee29dba87d5432a92fe76ea65d8e25f0.tar.gz
Whitespace normalization.
Diffstat (limited to 'Lib/test')
-rwxr-xr-xLib/test/regrtest.py54
-rw-r--r--Lib/test/test_atexit.py2
-rw-r--r--Lib/test/test_b1.py4
-rw-r--r--Lib/test/test_generators.py2
-rw-r--r--Lib/test/test_httplib.py1
-rw-r--r--Lib/test/test_signal.py1
-rw-r--r--Lib/test/test_types.py2
7 files changed, 32 insertions, 34 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index a586225989..21d3457d22 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -711,33 +711,33 @@ _expectations = {
test_zlib
""",
'atheos':
- """
- test_al
- test_cd
- test_cl
- test_curses
- test_dl
- test_email_codecs
- test_gdbm
- test_gl
- test_imgfile
- test_largefile
- test_linuxaudiodev
- test_locale
- test_mhlib
- test_mmap
- test_mpz
- test_nis
- test_poll
- test_popen2
- test_resource
- test_socket_ssl
- test_socketserver
- test_sunaudiodev
- test_unicode_file
- test_winreg
- test_winsound
- """,
+ """
+ test_al
+ test_cd
+ test_cl
+ test_curses
+ test_dl
+ test_email_codecs
+ test_gdbm
+ test_gl
+ test_imgfile
+ test_largefile
+ test_linuxaudiodev
+ test_locale
+ test_mhlib
+ test_mmap
+ test_mpz
+ test_nis
+ test_poll
+ test_popen2
+ test_resource
+ test_socket_ssl
+ test_socketserver
+ test_sunaudiodev
+ test_unicode_file
+ test_winreg
+ test_winsound
+ """,
}
class _ExpectedSkips:
diff --git a/Lib/test/test_atexit.py b/Lib/test/test_atexit.py
index 07f5a7e80a..ad5bced509 100644
--- a/Lib/test/test_atexit.py
+++ b/Lib/test/test_atexit.py
@@ -38,7 +38,7 @@ def direct():
import sys
sys.exitfunc = direct
-# Make sure atexit doesn't drop
+# Make sure atexit doesn't drop
def indirect():
print "indirect exit"
diff --git a/Lib/test/test_b1.py b/Lib/test/test_b1.py
index afa0cf32f5..cd828b161c 100644
--- a/Lib/test/test_b1.py
+++ b/Lib/test/test_b1.py
@@ -102,9 +102,9 @@ compile('print 1\n', '', 'exec')
print 'complex'
class OS:
- def __complex__(self): return 1+10j
+ def __complex__(self): return 1+10j
class NS(object):
- def __complex__(self): return 1+10j
+ def __complex__(self): return 1+10j
if complex(OS()) != 1+10j: raise TestFailed, '__complex__ in old style class'
if complex(NS()) != 1+10j: raise TestFailed, '__complex__ in new style class'
if complex("1+10j") != 1+10j: raise TestFailed, 'complex("1+10j")'
diff --git a/Lib/test/test_generators.py b/Lib/test/test_generators.py
index 17523ba71c..55a6a98888 100644
--- a/Lib/test/test_generators.py
+++ b/Lib/test/test_generators.py
@@ -814,7 +814,7 @@ This one caused a crash (see SF bug 567538):
... continue
... finally:
... yield i
-...
+...
>>> g = f()
>>> print g.next()
0
diff --git a/Lib/test/test_httplib.py b/Lib/test/test_httplib.py
index 09f92fc46a..f70abec7ea 100644
--- a/Lib/test/test_httplib.py
+++ b/Lib/test/test_httplib.py
@@ -56,4 +56,3 @@ r.begin()
cookies = r.getheader("Set-Cookie")
if cookies != hdr:
raise AssertionError, "multiple headers not combined properly"
-
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py
index 78b90b7017..951e58ad3e 100644
--- a/Lib/test/test_signal.py
+++ b/Lib/test/test_signal.py
@@ -125,4 +125,3 @@ if hasattr(signal, "sigprocmask"):
pass
else:
raise TestFailed, "sigsupsend didn't raise"
-
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py
index bec023728b..87a70fb18d 100644
--- a/Lib/test/test_types.py
+++ b/Lib/test/test_types.py
@@ -211,7 +211,7 @@ if have_unicode:
vereq(a[-100:100:], a)
vereq(a[100:-100:-1], a[::-1])
vereq(a[-100L:100L:2L], unicode('02468', 'ascii'))
-
+
print '6.5.2 Tuples'
if len(()) != 0: raise TestFailed, 'len(())'