From 9dbbaeff63d655c14d44293ce9d5d4cda4713adf 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 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+)