From c0c3d3005975854a8cae885f0ade5fd7c3444007 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 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.ci/get_tests.py b/.ci/get_tests.py index 894fe0dd3f..dcd2b5979b 100755 --- a/.ci/get_tests.py +++ b/.ci/get_tests.py @@ -135,6 +135,11 @@ def get_pytest_deselected_tests(args, tests): if 'tests/php/PHPMessDetectorBearTest.py' in tests: not_list.append('test_cleancode_violation') + 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