Commit d70a3fd1 authored by Denis Bilenko's avatar Denis Bilenko

test__socket.py: make a warning message more detailed

parent 54110f1d
...@@ -100,7 +100,7 @@ class TestTCP(greentest.TestCase): ...@@ -100,7 +100,7 @@ class TestTCP(greentest.TestCase):
data_read = conn.makefile().read() data_read = conn.makefile().read()
self.assertEqual(len(data_sent), len(data_read)) self.assertEqual(len(data_sent), len(data_read))
self.assertEqual(data_sent, data_read) self.assertEqual(data_sent, data_read)
print 'WARNING: read the data instead of failing with timeout' print '%s: WARNING: read the data instead of failing with timeout' % self.__class__.__name__
def test_makefile(self): def test_makefile(self):
def accept_once(): def accept_once():
......
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