summaryrefslogtreecommitdiff
path: root/Lib/test/test_smtplib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 +0000
commit0d4c06e06e5ee1f3bb1fa8068114bd700d74864a (patch)
tree021c8e11696fc29a41ddd9e853af42e6008a58f6 /Lib/test/test_smtplib.py
parente47c508850392422ebbf15c86e7411b46addfcd0 (diff)
downloadcpython-git-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.gz
Whitespace normalization. Ugh, we really need to do this more often.
You might want to review this change as it's my first time. Be gentle. :-)
Diffstat (limited to 'Lib/test/test_smtplib.py')
-rw-r--r--Lib/test/test_smtplib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py
index 09c1d96202..3542ddbf5f 100644
--- a/Lib/test/test_smtplib.py
+++ b/Lib/test/test_smtplib.py
@@ -25,7 +25,7 @@ def server(evt):
evt.set()
class GeneralTests(TestCase):
-
+
def setUp(self):
self.evt = threading.Event()
threading.Thread(target=server, args=(self.evt,)).start()
@@ -38,13 +38,13 @@ class GeneralTests(TestCase):
# connects
smtp = smtplib.SMTP("localhost", 9091)
smtp.sock.close()
-
+
def testTimeoutDefault(self):
# default
smtp = smtplib.SMTP("localhost", 9091)
self.assertTrue(smtp.sock.gettimeout() is None)
smtp.sock.close()
-
+
def testTimeoutValue(self):
# a value
smtp = smtplib.SMTP("localhost", 9091, timeout=30)