mirror of https://github.com/python/cpython
Whitespace normalization.
This commit is contained in:
parent
003047a5f2
commit
1633a2e345
|
@ -226,7 +226,7 @@ class IMAP4:
|
|||
while bytes > 0:
|
||||
sent = self.sock.send(data)
|
||||
if sent == bytes:
|
||||
break # avoid copy
|
||||
break # avoid copy
|
||||
data = data[sent:]
|
||||
bytes = bytes - sent
|
||||
|
||||
|
|
|
@ -362,7 +362,7 @@ else:
|
|||
import UserDict
|
||||
|
||||
# Fake unsetenv() for Windows
|
||||
# not sure about os2 and dos here but
|
||||
# not sure about os2 and dos here but
|
||||
# I'm guessing they are the same.
|
||||
|
||||
if name in ('os2', 'nt', 'dos'):
|
||||
|
@ -421,7 +421,7 @@ else:
|
|||
def __delitem__(self, key):
|
||||
unsetenv(key)
|
||||
del self.data[key]
|
||||
|
||||
|
||||
|
||||
environ = _Environ(environ)
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ only the following are defined:
|
|||
|
||||
curses - Tests that use curses and will modify the terminal's
|
||||
state and output modes.
|
||||
|
||||
|
||||
largefile - It is okay to run some test that may create huge files. These
|
||||
tests can take a long time and may consume >2GB of disk space
|
||||
temporarily.
|
||||
|
|
|
@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase):
|
|||
".pyunit")
|
||||
|
||||
def test_non_standard_types(self):
|
||||
# First try strict
|
||||
# First try strict
|
||||
self.assertEqual(self.db.guess_type('foo.xul', strict=1),
|
||||
(None, None))
|
||||
self.assertEqual(self.db.guess_extension('image/jpg', strict=1),
|
||||
|
|
Loading…
Reference in New Issue