From fe8d65242cdc18bd69222597feb0f461ca4cfb79 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauldmccarthy@gmail.com> Date: Fri, 12 Oct 2018 12:39:48 +0100 Subject: [PATCH] TEST: Raw strings for regexps --- tests/test_atlasq_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_atlasq_query.py b/tests/test_atlasq_query.py index 5ba48f919..85fe4ca48 100644 --- a/tests/test_atlasq_query.py +++ b/tests/test_atlasq_query.py @@ -241,7 +241,7 @@ def _eval_coord_voxel_query( else: exp = [q_type, squery, 'No label'] - _stdout = re.sub('\s+', ' ', stdout).strip() + _stdout = re.sub(r'\s+', ' ', stdout).strip() assert _stdout.strip() == ' '.join(exp).strip() def evalProbNormalOutput(expprops): -- GitLab