summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_telnetlib.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-04-25 06:30:05 (GMT)
commit0d4c06e06e5ee1f3bb1fa8068114bd700d74864a (patch)
tree021c8e11696fc29a41ddd9e853af42e6008a58f6 /Lib/test/test_telnetlib.py
parente47c508850392422ebbf15c86e7411b46addfcd0 (diff)
downloadcpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.zip
cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.gz
cpython-0d4c06e06e5ee1f3bb1fa8068114bd700d74864a.tar.bz2
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_telnetlib.py')
-rw-r--r--Lib/test/test_telnetlib.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_telnetlib.py b/Lib/test/test_telnetlib.py
index 42ad20c..0a3604e 100644
--- a/Lib/test/test_telnetlib.py
+++ b/Lib/test/test_telnetlib.py
@@ -22,7 +22,7 @@ def server(evt):
evt.set()
class GeneralTests(TestCase):
-
+
def setUp(self):
self.evt = threading.Event()
threading.Thread(target=server, args=(self.evt,)).start()
@@ -35,13 +35,13 @@ class GeneralTests(TestCase):
# connects
telnet = telnetlib.Telnet("localhost", 9091)
telnet.sock.close()
-
+
def testTimeoutDefault(self):
# default
telnet = telnetlib.Telnet("localhost", 9091)
self.assertTrue(telnet.sock.gettimeout() is None)
telnet.sock.close()
-
+
def testTimeoutValue(self):
# a value
telnet = telnetlib.Telnet("localhost", 9091, timeout=30)