Skip to content

Commit

Permalink
pypy on travis can't handle large send test
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jan 8, 2016
1 parent 8ac4761 commit 715c163
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zmq/tests/test_socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Distributed under the terms of the Modified BSD License.

import copy
import os
import platform
import time
import warnings

Expand Down Expand Up @@ -434,6 +436,8 @@ def test_shadow_pyczmq(self):
rcvd = self.recv(b)
self.assertEqual(rcvd, b'hi')

# Travis can't handle how much memory PyPy uses on this test
@skip_if(platform.python_implementation() and os.environ.get('TRAVIS_PYTHON_VERSION'))
def test_large_send(self):
try:
buf = b'\1' * (2**31+1)
Expand Down

0 comments on commit 715c163

Please sign in to comment.