From d70b51214c99518629661eb07200ff9d49c55b68 Mon Sep 17 00:00:00 2001 From: Louis Sautier Date: Wed, 28 Dec 2022 02:29:30 +0100 Subject: [PATCH] tests: fix "DeprecationWarning: invalid escape sequence" Before this fix, we would see ``` DeprecationWarning: invalid escape sequence '\-' ``` --- tests/test_options/test_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_options/test_size.py b/tests/test_options/test_size.py index 51de398d..05fbe12e 100644 --- a/tests/test_options/test_size.py +++ b/tests/test_options/test_size.py @@ -61,7 +61,7 @@ def trigger(*args): assert False # Not a valid range: - trigger('--size \-\-17') + trigger(r'--size \-\-17') # max < min trigger('--size 10-9')