diff --git a/tests/test_atlasq_query.py b/tests/test_atlasq_query.py
index 5ba48f9190fa9d23ec13d7fd231ec16fa283b66c..85fe4ca48c22922636cae2b03d144627c7fc7903 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):