diff options
author | Corentin Noël <corentin.noel@collabora.com> | 2022-01-14 18:00:54 +0100 |
---|---|---|
committer | Corentin Noël <tintou@noel.tf> | 2022-05-09 09:51:51 +0000 |
commit | 1fc96325357b225f517cc35d874bbb9b2697281b (patch) | |
tree | 308bcf91e5af0edb8a60de2b1aa335d6bac52681 /framework/test/opencv.py | |
parent | cc69093445150c3a283b42b3e4cd9caa8da10a0b (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.py | 2 |
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] |