diff --git a/tests/test_scripts/test_atlasq_query.py b/tests/test_scripts/test_atlasq_query.py index 5b2ab4e9da7a634be84c3aea0fa5f8d901a1fea0..14c61b0ebbb80f723075a01eb0be50ab596b8c82 100644 --- a/tests/test_scripts/test_atlasq_query.py +++ b/tests/test_scripts/test_atlasq_query.py @@ -286,7 +286,7 @@ def _eval_coord_voxel_query( else: exp = [q_type, squery] - _stdout = re.sub('\s+', ' ', stdout).strip() + _stdout = re.sub(r'\s+', ' ', stdout).strip() assert _stdout == ' '.join(exp) if isinstance(a_img, fslatlases.LabelAtlas): @@ -388,7 +388,7 @@ def _eval_mask_query( if expprop > 0: exp.append('{} {:0.4f}'.format(explabel, expprop)) - _stdout = re.sub('\s+', ' ', stdout).strip() + _stdout = re.sub(r'\s+', ' ', stdout).strip() assert _stdout == ' '.join(exp) if isinstance(aimg, fslatlases.LabelAtlas):