From ef3b0a086bffd410e58fa2abec0708d478cc690e Mon Sep 17 00:00:00 2001 From: sigma67 Date: Mon, 29 Jan 2024 12:54:09 +0100 Subject: [PATCH] fix #662 --- tests/utils/test_fs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/test_fs.py b/tests/utils/test_fs.py index c856a234..39708c3d 100644 --- a/tests/utils/test_fs.py +++ b/tests/utils/test_fs.py @@ -78,4 +78,4 @@ def test_backup_dir_trailing_slash(tmp): def test_backup_timestamp(tmp): bkfile = fs.backup(tmp.file, timestamp=True) - assert re.match('(.*).bak-[\d]+-[\d]+-[\d]+(.*)', bkfile) # noqa: W605 + assert re.match(r'(.*).bak-[\d]+-[\d]+-[\d]+(.*)', bkfile) # noqa: W605