Commit c6b73bcb authored by Vincent Pelletier's avatar Vincent Pelletier

Assorted comment cleanup.

parent 91c013be
...@@ -506,7 +506,7 @@ class ConnectionTests(NeoUnitTestBase): ...@@ -506,7 +506,7 @@ class ConnectionTests(NeoUnitTestBase):
self._checkReadBuf(bc, '') self._checkReadBuf(bc, '')
def test_Connection_writable1(self): def test_Connection_writable1(self):
# with pending operation after send # with pending operation after send
def send(self, data): def send(self, data):
return len(data)/2 return len(data)/2
DoNothingConnector.send = send DoNothingConnector.send = send
...@@ -530,7 +530,7 @@ class ConnectionTests(NeoUnitTestBase): ...@@ -530,7 +530,7 @@ class ConnectionTests(NeoUnitTestBase):
self._checkClose(0) self._checkClose(0)
def test_Connection_writable2(self): def test_Connection_writable2(self):
# with no longer pending operation after send # without pending operation after send
def send(self, data): def send(self, data):
return len(data) return len(data)
DoNothingConnector.send = send DoNothingConnector.send = send
...@@ -554,7 +554,7 @@ class ConnectionTests(NeoUnitTestBase): ...@@ -554,7 +554,7 @@ class ConnectionTests(NeoUnitTestBase):
self._checkClose(0) self._checkClose(0)
def test_Connection_writable3(self): def test_Connection_writable3(self):
# with no longer pending operation after send and aborted set to true # without pending operation after send and aborted set to true
def send(self, data): def send(self, data):
return len(data) return len(data)
DoNothingConnector.send = send DoNothingConnector.send = send
......
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