diff --git a/tests/test_cli.py b/tests/test_cli.py index 2607746..af4c41c 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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\d+)\.(?P\d+)\.(?P\d+).(?P\d+) @@ -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\d+)\.(?P\d+)\.(?P\d+).(?P\d+)