From 33cdd13979238e31f26a5ec649f71ba63524b80f Mon Sep 17 00:00:00 2001 From: Floris Lambrechts Date: Tue, 18 Dec 2018 10:00:57 +0100 Subject: [PATCH] Cleanup warnings about escape sequences --- tests/test_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_cli.py b/tests/test_cli.py index 10b8b42..1b29550 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -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\d+)\.(?P\d+)\.(?P\d+).(?P\d+) @@ -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\d+)\.(?P\d+)\.(?P\d+).(?P\d+)