[test] Convert warnings into errors

* And fix some existing warnings

Authored by: fstirlitz
This commit is contained in:
pukkandan 2022-04-18 02:12:48 +05:30
parent 3d3bb1688b
commit b6dc37fe2a
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
9 changed files with 13 additions and 11 deletions

View file

@ -11,7 +11,7 @@ from ..utils import (
class GediDigitalIE(InfoExtractor):
_VALID_URL = r'''(?x)(?P<url>(?:https?:)//video\.
_VALID_URL = r'''(?x:(?P<url>(?:https?:)//video\.
(?:
(?:
(?:espresso\.)?repubblica
@ -33,7 +33,7 @@ class GediDigitalIE(InfoExtractor):
|corrierealpi
|lasentinella
)\.gelocal
)\.it(?:/[^/]+){2,4}/(?P<id>\d+))(?:$|[?&].*)'''
)\.it(?:/[^/]+){2,4}/(?P<id>\d+))(?:$|[?&].*))'''
_TESTS = [{
'url': 'https://video.lastampa.it/politica/il-paradosso-delle-regionali-la-lega-vince-ma-sembra-aver-perso/121559/121683',
'md5': '84658d7fb9e55a6e57ecc77b73137494',