This commit is contained in:
sigma67 2024-01-29 12:54:09 +01:00
parent 12fbe1d657
commit ef3b0a086b
No known key found for this signature in database
GPG Key ID: 9F0867F235612837

View File

@ -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