From e5c5b0eda9c000987ecafaa914ff1d0513b342ac Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 14 Jan 2017 10:01:03 -0500 Subject: Reporting doesn't work on Jython, so don't run reporting tests there. --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f --- tests/test_farm.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_farm.py') diff --git a/tests/test_farm.py b/tests/test_farm.py index 86238115..4a80be47 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -18,6 +18,7 @@ from unittest_mixins import ModuleAwareMixin, SysPathAwareMixin, change_dir from tests.helpers import run_command from tests.backtest import execfile # pylint: disable=redefined-builtin +from coverage import env from coverage.backunittest import unittest from coverage.debug import _TEST_NAME_FILE @@ -28,6 +29,9 @@ TEST_FILES = glob.glob("tests/farm/*/*.py") @pytest.mark.parametrize("filename", TEST_FILES) def test_farm(filename): + if env.JYTHON: + # All of the farm tests use reporting, so skip them all. + skip("Farm tests don't run on Jython") FarmTestCase(filename).run_fully() -- cgit v1.2.1