summaryrefslogtreecommitdiff
path: root/framework/test/opencv.py
diff options
context:
space:
mode:
authorCorentin Noël <corentin.noel@collabora.com>2022-01-14 18:00:54 +0100
committerCorentin Noël <tintou@noel.tf>2022-05-09 09:51:51 +0000
commit1fc96325357b225f517cc35d874bbb9b2697281b (patch)
tree308bcf91e5af0edb8a60de2b1aa335d6bac52681 /framework/test/opencv.py
parentcc69093445150c3a283b42b3e4cd9caa8da10a0b (diff)
Make it work with the latest pytest version
Fix all deprecation warnings. Remove testing for python 3.6. Signed-off-by: Corentin Noël <corentin.noel@collabora.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/piglit/-/merge_requests/626>
Diffstat (limited to 'framework/test/opencv.py')
-rw-r--r--framework/test/opencv.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/test/opencv.py b/framework/test/opencv.py
index c107d2495..3d824b808 100644
--- a/framework/test/opencv.py
+++ b/framework/test/opencv.py
@@ -65,7 +65,7 @@ def add_opencv_tests(profile):
full_test_name = ''
for line in test_list:
#Test groups names start at the beginning of the line and end with '.'
- m = re.match('([^.]+\.)$', line)
+ m = re.match(r'([^.]+\.)$', line)
if m:
group_name = m.group(1)
group_desc = group_name[:-1]