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 @@ class IMAP4_SSL(IMAP4):
# sslobj.read() sometimes returns < size bytes # sslobj.read() sometimes returns < size bytes
data = self.sslobj.read(size) data = self.sslobj.read(size)
while len(data) < size: while len(data) < size:
data += self.sslobj.read(size-len(data)) data += self.sslobj.read(size-len(data))
return data return data

View file

@ -711,33 +711,33 @@ _expectations = {
test_zlib test_zlib
""", """,
'atheos': 'atheos':
""" """
test_al test_al
test_cd test_cd
test_cl test_cl
test_curses test_curses
test_dl test_dl
test_email_codecs test_email_codecs
test_gdbm test_gdbm
test_gl test_gl
test_imgfile test_imgfile
test_largefile test_largefile
test_linuxaudiodev test_linuxaudiodev
test_locale test_locale
test_mhlib test_mhlib
test_mmap test_mmap
test_mpz test_mpz
test_nis test_nis
test_poll test_poll
test_popen2 test_popen2
test_resource test_resource
test_socket_ssl test_socket_ssl
test_socketserver test_socketserver
test_sunaudiodev test_sunaudiodev
test_unicode_file test_unicode_file
test_winreg test_winreg
test_winsound test_winsound
""", """,
} }
class _ExpectedSkips: class _ExpectedSkips:

View file

@ -102,9 +102,9 @@ compile('print 1\n', '', 'exec')
print 'complex' print 'complex'
class OS: class OS:
def __complex__(self): return 1+10j def __complex__(self): return 1+10j
class NS(object): 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(OS()) != 1+10j: raise TestFailed, '__complex__ in old style class'
if complex(NS()) != 1+10j: raise TestFailed, '__complex__ in new 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")' if complex("1+10j") != 1+10j: raise TestFailed, 'complex("1+10j")'

View file

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

View file

@ -125,4 +125,3 @@ if hasattr(signal, "sigprocmask"):
pass pass
else: else:
raise TestFailed, "sigsupsend didn't raise" raise TestFailed, "sigsupsend didn't raise"