diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/units/utils/display/test_warning.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/units/utils/display/test_warning.py b/test/units/utils/display/test_warning.py index 2183005a0f..be63c348bc 100644 --- a/test/units/utils/display/test_warning.py +++ b/test/units/utils/display/test_warning.py @@ -27,7 +27,7 @@ def test_warning(capsys, mocker, warning_message): d.warning(warning_message) out, err = capsys.readouterr() assert d._warns == {expected_warning_message: 1} - assert err == '\x1b[1;35m{0}\x1b[0m\n\x1b[1;35m\x1b[0m'.format(expected_warning_message.rstrip('\n')) + assert err == '\x1b[1;35m{0}\x1b[0m\n'.format(expected_warning_message.rstrip('\n')) def test_warning_no_color(capsys, mocker, warning_message): |