Whitespace normalization.

This commit is contained in:
Tim Peters 2002-07-16 21:35:23 +00:00
parent 8531b1b28d
commit c411dbaeee
14 changed files with 48 additions and 50 deletions

View File

@ -1058,7 +1058,7 @@ def read(self, size):
# sslobj.read() sometimes returns < size bytes
data = self.sslobj.read(size)
while len(data) < size:
data += self.sslobj.read(size-len(data))
data += self.sslobj.read(size-len(data))
return data

View File

@ -711,33 +711,33 @@ def tolist(self, sorted=1):
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:

View File

@ -102,9 +102,9 @@ def __call__(self): pass
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")'

View File

@ -56,4 +56,3 @@ def makefile(self, mode, bufsize=None):
cookies = r.getheader("Set-Cookie")
if cookies != hdr:
raise AssertionError, "multiple headers not combined properly"

View File

@ -125,4 +125,3 @@ def hup2(signum, frame):
pass
else:
raise TestFailed, "sigsupsend didn't raise"