Skip to content

Commit

Permalink
get_tests.py: Disable one test on Travis Windows
Browse files Browse the repository at this point in the history
XMLBearDTDUrlTest.test_valid_files is consistently failing only
on Travis Windows, but not AppVeyor.

Related to coala#2944
  • Loading branch information
jayvdb committed Aug 6, 2019
1 parent bc31021 commit 4a8cc74
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .ci/get_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 4a8cc74

Please sign in to comment.