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 e4f70ff commit c0c3d30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .ci/get_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit c0c3d30

Please sign in to comment.