From 4a8cc74f1a4daabf929994ea818c7de88ec85a2a Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Tue, 6 Aug 2019 07:37:33 +0700 Subject: [PATCH] get_tests.py: Disable one test on Travis Windows XMLBearDTDUrlTest.test_valid_files is consistently failing only on Travis Windows, but not AppVeyor. Related to https://github.com/coala/coala-bears/issues/2944 --- .ci/get_tests.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.ci/get_tests.py b/.ci/get_tests.py index 7bd68402ba..097f096aba 100755 --- a/.ci/get_tests.py +++ b/.ci/get_tests.py @@ -139,6 +139,12 @@ def get_pytest_deselected_tests(args, tests): if 'tests/php/PHPMessDetectorBearTest.py' in tests: not_list.append('test_cleancode_violation') + # https://github.com/coala/coala-bears/issues/2944 + if 'tests/xml2/XMLBearTest.py' in tests: + if 'win' in args and os.environ.get('TRAVIS'): + not_list.append( + 'tests/xml2/XMLBearTest.py::XMLBearDTDUrlTest::test_valid_files') + return not_list