mirror of https://github.com/python/cpython.git
Whitespace normalization.
This commit is contained in:
parent
8531b1b28d
commit
c411dbaeee
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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")'
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -125,4 +125,3 @@ def hup2(signum, frame):
|
|||
pass
|
||||
else:
|
||||
raise TestFailed, "sigsupsend didn't raise"
|
||||
|
||||
|
|
Loading…
Reference in New Issue