Skip to content

Commit

Permalink
Merge pull request pyca#31 from pyca/osx-wantwrite
Browse files Browse the repository at this point in the history
Fix the WantWriteError test on OS X (purely a test bug).
  • Loading branch information
exarkun committed Feb 22, 2014
2 parents ab984a4 + 22c28b4 commit 08d4ade
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenSSL/test/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1912,8 +1912,8 @@ def test_wantWriteError(self):
client_socket, server_socket = socket_pair()
# Fill up the client's send buffer so Connection won't be able to write
# anything.
msg = b"x" * 1024
for i in range(1024):
msg = b"x" * 512
for i in range(2048):
try:
client_socket.send(msg)
except error as e:
Expand Down

0 comments on commit 08d4ade

Please sign in to comment.