Skip to content

Commit

Permalink
Cleanup warnings about escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
florisla committed Jan 9, 2019
1 parent 2fddb14 commit 9dbbaef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Expand Up @@ -788,7 +788,7 @@ def test_all_parts_in_message_and_serialize_and_tag_name_from_config_file(tmpdir
check_call([vcs, "add", "VERSION"])
check_call([vcs, "commit", "-m", "initial commit"])

tmpdir.join(".bumpversion.cfg").write("""[bumpversion]
tmpdir.join(".bumpversion.cfg").write(r"""[bumpversion]
current_version: 400.1.2.101
new_version: 401.2.3.102
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+).(?P<custom>\d+)
Expand Down Expand Up @@ -820,7 +820,7 @@ def test_all_parts_in_replace_from_config_file(tmpdir, capsys, vcs):
check_call([vcs, "add", "VERSION"])
check_call([vcs, "commit", "-m", "initial commit"])

tmpdir.join(".bumpversion.cfg").write("""[bumpversion]
tmpdir.join(".bumpversion.cfg").write(r"""[bumpversion]
current_version: 400.1.2.101
new_version: 401.2.3.102
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+).(?P<custom>\d+)
Expand Down

0 comments on commit 9dbbaef

Please sign in to comment.