Commit 1d8dba4e authored by Tim Peters's avatar Tim Peters

Whitespace normalization.

parent 3c040229
...@@ -226,7 +226,7 @@ class IMAP4: ...@@ -226,7 +226,7 @@ class IMAP4:
while bytes > 0: while bytes > 0:
sent = self.sock.send(data) sent = self.sock.send(data)
if sent == bytes: if sent == bytes:
break # avoid copy break # avoid copy
data = data[sent:] data = data[sent:]
bytes = bytes - sent bytes = bytes - sent
......
...@@ -362,7 +362,7 @@ else: ...@@ -362,7 +362,7 @@ else:
import UserDict import UserDict
# Fake unsetenv() for Windows # 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. # I'm guessing they are the same.
if name in ('os2', 'nt', 'dos'): if name in ('os2', 'nt', 'dos'):
...@@ -421,7 +421,7 @@ else: ...@@ -421,7 +421,7 @@ else:
def __delitem__(self, key): def __delitem__(self, key):
unsetenv(key) unsetenv(key)
del self.data[key] del self.data[key]
environ = _Environ(environ) environ = _Environ(environ)
......
...@@ -38,7 +38,7 @@ only the following are defined: ...@@ -38,7 +38,7 @@ only the following are defined:
curses - Tests that use curses and will modify the terminal's curses - Tests that use curses and will modify the terminal's
state and output modes. state and output modes.
largefile - It is okay to run some test that may create huge files. These 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 tests can take a long time and may consume >2GB of disk space
temporarily. temporarily.
......
...@@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase): ...@@ -39,7 +39,7 @@ class MimeTypesTestCase(unittest.TestCase):
".pyunit") ".pyunit")
def test_non_standard_types(self): def test_non_standard_types(self):
# First try strict # First try strict
self.assertEqual(self.db.guess_type('foo.xul', strict=1), self.assertEqual(self.db.guess_type('foo.xul', strict=1),
(None, None)) (None, None))
self.assertEqual(self.db.guess_extension('image/jpg', strict=1), self.assertEqual(self.db.guess_extension('image/jpg', strict=1),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment