[playwright] fix tests again
parent
9224bfe84f
commit
6807c8869a
|
@ -20,10 +20,9 @@ class PlaywrightHelper():
|
|||
def _import_pw(cls, fatal=True):
|
||||
try:
|
||||
cls._real_import_pw()
|
||||
except ImportError as err:
|
||||
except ImportError:
|
||||
if fatal is True:
|
||||
raise ExtractorError('Playwright could not be imported: %s' % err.msg if 'msg' in err else '[no err.msg]',
|
||||
expected=True)
|
||||
raise ExtractorError('Playwright could not be imported', expected=True)
|
||||
|
||||
@classmethod
|
||||
def _version(cls):
|
||||
|
|
Loading…
Reference in New Issue