mirror of
https://github.com/datafolklabs/cement.git
synced 2026-02-06 13:42:03 +00:00
fix #662
This commit is contained in:
parent
12fbe1d657
commit
ef3b0a086b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user