Skip to content
Myr

Fix invalid escape sequences discovered by running tests (#877)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jon Dufresne · committed by Armin Ronacher · parent 763f3eb · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:tests/test_options.py+1 added-1 removed
82 unmodified lines
83 assert not result.exception84 assert result.output == 'verbosity=0\n'8586 result = runner.invoke(cli, ['--help'])87 assert re.search('-v\s+Verbosity', result.output) is not None87 assert re.search(r'-v\s+Verbosity', result.output) is not None888990@pytest.mark.parametrize('unknown_flag', ['--foo', '-f'])91def test_unknown_options(runner, unknown_flag):
272 unmodified lines