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 Dec 18, 2018
1 parent e28819d commit 33cdd13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_cli.py
Expand Up @@ -782,7 +782,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 @@ -814,7 +814,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 33cdd13

Please sign in to comment.