From 0cdd22f1764200b768dc35fa1f029bc0af835611 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Wed, 6 Mar 2024 16:37:48 -0300 Subject: [PATCH] validate: Remove some regex related python 3.12 warnings Part-of: --- .../gst-devtools/validate/tests/launcher_tests/test_validate.py | 2 +- .../gst-editing-services/tests/check/python/test_timeline.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-devtools/validate/tests/launcher_tests/test_validate.py b/subprojects/gst-devtools/validate/tests/launcher_tests/test_validate.py index bad3275344..01fccd2e1e 100644 --- a/subprojects/gst-devtools/validate/tests/launcher_tests/test_validate.py +++ b/subprojects/gst-devtools/validate/tests/launcher_tests/test_validate.py @@ -36,7 +36,7 @@ def get_pipelines(test_manager): {'level': 'critical', 'summary': 'a NOT NEGOTIATED message has been posted on the bus.', 'details': r'.*Caps negotiation failed at pad.*capsfilter:sink.*as it refused caps:.*'}]}), ("not_negotiated.caps_query_failure", - "\( \( audiotestsrc \) ! input-selector name=i \) ! capsfilter name=capsfilter caps=video/x-raw ! fakesink", + r"\( \( audiotestsrc \) ! input-selector name=i \) ! capsfilter name=capsfilter caps=video/x-raw ! fakesink", {"expected-issues": [ {'returncode': 18}, {'level': 'critical', 'summary': 'a NOT NEGOTIATED message has been posted on the bus.', diff --git a/subprojects/gst-editing-services/tests/check/python/test_timeline.py b/subprojects/gst-editing-services/tests/check/python/test_timeline.py index c648fc86c0..591bc9ad1f 100644 --- a/subprojects/gst-editing-services/tests/check/python/test_timeline.py +++ b/subprojects/gst-editing-services/tests/check/python/test_timeline.py @@ -3699,7 +3699,7 @@ class TestTransitions(common.GESSimpleTimelineTest): def create_xges(self): uri = common.get_asset_uri("png.png") - return """ + return r"""