Commit d6ab9a3a authored by Jason Madden's avatar Jason Madden

Need to redefine test_empty_send on windows too.

parent a47a676b
...@@ -56,15 +56,15 @@ class TestSSL(test__socket.TestTCP): ...@@ -56,15 +56,15 @@ class TestSSL(test__socket.TestTCP):
client.close() client.close()
server_sock[0][0].close() server_sock[0][0].close()
def test_empty_send(self): def test_empty_send(self):
# Issue 719 # Issue 719
# Sending empty bytes with the 'send' method raises # Sending empty bytes with the 'send' method raises
# ssl.SSLEOFError in the stdlib. PyPy 4.0 and CPython 2.6 # ssl.SSLEOFError in the stdlib. PyPy 4.0 and CPython 2.6
# both just raise the superclass, ssl.SSLError. # both just raise the superclass, ssl.SSLError.
expected = ssl.SSLError expected = ssl.SSLError
self.assertRaises(expected, self._test_sendall, self.assertRaises(expected, self._test_sendall,
b'', b'',
client_method='send') client_method='send')
def ssl_listener(address, private_key, certificate): def ssl_listener(address, private_key, certificate):
......
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