Skip to content
Snippets Groups Projects
Commit 89f67fb0 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Fix invalid escape sequences

parent 6bb3dd4d
No related branches found
No related tags found
No related merge requests found
...@@ -286,7 +286,7 @@ def _eval_coord_voxel_query( ...@@ -286,7 +286,7 @@ def _eval_coord_voxel_query(
else: else:
exp = [q_type, squery] exp = [q_type, squery]
_stdout = re.sub('\s+', ' ', stdout).strip() _stdout = re.sub(r'\s+', ' ', stdout).strip()
assert _stdout == ' '.join(exp) assert _stdout == ' '.join(exp)
if isinstance(a_img, fslatlases.LabelAtlas): if isinstance(a_img, fslatlases.LabelAtlas):
...@@ -388,7 +388,7 @@ def _eval_mask_query( ...@@ -388,7 +388,7 @@ def _eval_mask_query(
if expprop > 0: if expprop > 0:
exp.append('{} {:0.4f}'.format(explabel, expprop)) exp.append('{} {:0.4f}'.format(explabel, expprop))
_stdout = re.sub('\s+', ' ', stdout).strip() _stdout = re.sub(r'\s+', ' ', stdout).strip()
assert _stdout == ' '.join(exp) assert _stdout == ' '.join(exp)
if isinstance(aimg, fslatlases.LabelAtlas): if isinstance(aimg, fslatlases.LabelAtlas):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment