Skip to content

Commit

Permalink
skip a test in PyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
svenkreiss committed Jun 14, 2017
1 parent 7ed439f commit c9fb7c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import multiprocessing
import os
import pickle
import platform
import pprint
import pysparkling
import random
Expand Down Expand Up @@ -117,6 +118,8 @@ def runtime(self, n=10, processes=1):
rdd.map(lambda _: time.sleep(0.1)).collect()
return time.time() - start

@unittest.skipIf(platform.python_implementation() == 'PyPy',
'test fails in PyPy')
def test_basic(self):
t1 = self.runtime(processes=1)
t10 = self.runtime(processes=10)
Expand Down

0 comments on commit c9fb7c7

Please sign in to comment.