fix escape chars in regex pattern
This commit is contained in:
parent
aa541de52f
commit
88d466c745
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ def test_get_session_id_random(tmp_path: Path):
|
|||
args_resume = False
|
||||
args_session_id = None
|
||||
session_id = get_session_id(args_output_dir, args_resume, args_session_id)
|
||||
assert re.search("\d+-\d+-\d+", session_id)
|
||||
assert re.search(r"\d+-\d+-\d+", session_id)
|
||||
|
||||
|
||||
def test_get_session_id_explicit1(tmp_path: Path):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue