Skip to content

Commit d2a4306

Browse files
authored
update for slow testing with pypy3.11 (#213)
1 parent d3b88c0 commit d2a4306

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

.travis.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ matrix:
3737
env:
3838
- PYPY_VERSION="3.9"
3939

40-
- python: 'pypy3.10-7.3.18'
40+
- python: 'pypy3.10-7.3.19'
4141
env:
4242
- PYPY_VERSION="3.10"
4343

44-
- python: 'pypy3.11-7.3.18'
44+
- python: 'pypy3.11-7.3.19'
4545
env:
4646
- PYPY_VERSION="3.11"
4747

4848
allow_failures:
4949
- python: '3.14-dev' # CI missing
50-
- python: 'pypy3.10-7.3.18' # CI missing
51-
- python: 'pypy3.11-7.3.18' # CI missing
50+
- python: 'pypy3.10-7.3.19' # CI missing
51+
- python: 'pypy3.11-7.3.19' # CI missing
5252
fast_finish: true
5353

5454
cache:
@@ -67,8 +67,8 @@ script:
6767
- if [[ $PYVERSION != "3.14" ]]; then PYVERSION=$TRAVIS_PYTHON_VERSION ; fi
6868
- if [[ $PYVERSION == "pypy3.8-7.3.9" ]]; then PYVERSION=py$PYPY_VERSION ; fi
6969
- if [[ $PYVERSION == "pypy3.9-7.3.9" ]]; then PYVERSION=py$PYPY_VERSION ; fi
70-
- if [[ $PYVERSION == "pypy3.10-7.3.18" ]]; then PYVERSION=py$PYPY_VERSION ; fi
71-
- if [[ $PYVERSION == "pypy3.11-7.3.18" ]]; then PYVERSION=py$PYPY_VERSION ; fi
70+
- if [[ $PYVERSION == "pypy3.10-7.3.19" ]]; then PYVERSION=py$PYPY_VERSION ; fi
71+
- if [[ $PYVERSION == "pypy3.11-7.3.19" ]]; then PYVERSION=py$PYPY_VERSION ; fi
7272
- cd py$PYVERSION #XXX: bash script may require tests run from root
7373
- if [[ $COVERAGE == "true" ]]; then cp ../.coveragerc .coveragerc ; fi
7474
- for test in multiprocess/tests/__init__.py; do echo $test ; if [[ $COVERAGE == "true" ]]; then coverage run -a $test > /dev/null; else python $test > /dev/null; fi ; done

pypy3.11/multiprocess/tests/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,6 +2100,7 @@ def _test_default_timeout_f(cls, barrier, results):
21002100
except threading.BrokenBarrierError:
21012101
results.append(True)
21022102

2103+
@unittest.skipIf(sys.implementation.name == 'pypy', 'poor timing for PyPy')
21032104
def test_default_timeout(self):
21042105
"""
21052106
Test the barrier's default timeout
@@ -2821,6 +2822,7 @@ def test_map_no_failfast(self):
28212822
# check that we indeed waited for all jobs
28222823
self.assertGreater(time.monotonic() - t_start, 0.9)
28232824

2825+
@unittest.skipIf(sys.implementation.name == 'pypy', 'poor timing for PyPy')
28242826
def test_release_task_refs(self):
28252827
# Issue #29861: task arguments and results should not be kept
28262828
# alive after we are done with them.
@@ -3042,6 +3044,7 @@ def test_mymanager_context(self):
30423044
# which happens on slow buildbots.
30433045
self.assertIn(manager._process.exitcode, (0, -signal.SIGTERM))
30443046

3047+
@unittest.skipIf(sys.implementation.name == 'pypy', 'poor timing for PyPy')
30453048
def test_mymanager_context_prestarted(self):
30463049
manager = MyManager(shutdown_timeout=SHUTDOWN_TIMEOUT)
30473050
manager.start()

0 commit comments

Comments
 (0)