# HG changeset patch # User Gregory Szorc # Date 2019-10-05 20:23:00 # Node ID 1d60a7825dcbc914457d519a6f665931be28487f # Parent e554cfd93975f39d5e6b05dac78c89eecfcdf850 tests: conditionalize test-run-tests.t for Python 3.8 It looks like Python 3.8 changed the pretty XML formatting slightly to strip some whitespace. Let's teach our tests about that. Differential Revision: https://phab.mercurial-scm.org/D6988 diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t --- a/tests/test-run-tests.t +++ b/tests/test-run-tests.t @@ -403,18 +403,21 @@ test --xunit support (glob) (glob) - - (no-py38 !) + + ]]> (py38 !) + ]]> (no-py38 !) (glob) - - (no-py38 !) + + ]]> (py38 !) + ]]> (no-py38 !) @@ -1084,8 +1088,9 @@ Skips with xml (glob) - - + (py38 !) + (no-py38 !) + (no-py38 !)