mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update testcase for #3858
This commit is contained in:
parent
e2a56d9d5b
commit
a8c5141cc1
@ -232,7 +232,7 @@ def test_colored_logs(app, status, warning):
|
|||||||
assert 'message3\n' in status.getvalue() # not colored
|
assert 'message3\n' in status.getvalue() # not colored
|
||||||
assert colorize('darkred', 'WARNING: message4') in warning.getvalue()
|
assert colorize('darkred', 'WARNING: message4') in warning.getvalue()
|
||||||
assert 'WARNING: message5\n' in warning.getvalue() # not colored
|
assert 'WARNING: message5\n' in warning.getvalue() # not colored
|
||||||
assert 'WARNING: message6\n' in warning.getvalue() # not colored
|
assert colorize('darkred', 'WARNING: message6') in warning.getvalue()
|
||||||
|
|
||||||
# color specification
|
# color specification
|
||||||
logger.debug('message7', color='white')
|
logger.debug('message7', color='white')
|
||||||
|
Loading…
Reference in New Issue
Block a user