diff --git a/gst-env.py b/gst-env.py index 42e07ddd4b..1a5c05bf7c 100755 --- a/gst-env.py +++ b/gst-env.py @@ -110,7 +110,7 @@ def get_target_install_filename(target, filename): def get_pkgconfig_variable_from_pcfile(pcfile, varname): variables = {} - substre = re.compile('\$\{[^${}]+\}') + substre = re.compile(r'\$\{[^${}]+\}') with pcfile.open('r', encoding='utf-8') as f: for line in f: if '=' not in line: diff --git a/subprojects/gst-devtools/validate/launcher/apps/gstvalidate.py b/subprojects/gst-devtools/validate/launcher/apps/gstvalidate.py index 1aef8e6011..ca29283c0d 100644 --- a/subprojects/gst-devtools/validate/launcher/apps/gstvalidate.py +++ b/subprojects/gst-devtools/validate/launcher/apps/gstvalidate.py @@ -1351,7 +1351,7 @@ not been tested and explicitly activated if you set use --wanted-tests ALL""") # MXF known issues" ("*reverse_playback.*mxf", "Reverse playback is not handled in MXF"), - ("file\.transcode.*mxf", + (r'file\.transcode.*mxf', "FIXME: Transcoding and mixing tests need to be tested"), # WMV known issues" diff --git a/subprojects/gst-devtools/validate/launcher/baseclasses.py b/subprojects/gst-devtools/validate/launcher/baseclasses.py index 3073e2e3e5..d902774bd7 100644 --- a/subprojects/gst-devtools/validate/launcher/baseclasses.py +++ b/subprojects/gst-devtools/validate/launcher/baseclasses.py @@ -2396,7 +2396,7 @@ class ScenarioManager(Loggable): mfile_bname = os.path.basename(mfile) for f in os.listdir(os.path.dirname(mfile)): - if re.findall("%s\..*\.%s$" % (re.escape(mfile_bname), self.FILE_EXTENSION), f): + if re.findall(r'%s\..*\.%s$' % (re.escape(mfile_bname), self.FILE_EXTENSION), f): scenarios.append(os.path.join(os.path.dirname(mfile), f)) if scenarios: