[tests] fix 'pattern' not being compiled before running a test
fixes regression introduced in 3fa74ca4
This commit is contained in:
@@ -94,6 +94,7 @@ class TestExtractorResults(unittest.TestCase):
|
||||
result.pop("#comment", None)
|
||||
auth = result.pop("#auth", None)
|
||||
|
||||
extractor.find(result["#url"])
|
||||
extr = result["#class"].from_url(result["#url"])
|
||||
if not extr:
|
||||
raise exception.NoExtractorError()
|
||||
|
||||
Reference in New Issue
Block a user