We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 57f5741 + 0257e8d commit 0fdb412Copy full SHA for 0fdb412
scrapely/extraction/regionextract.py
@@ -306,8 +306,8 @@ class RecordExtractor(object):
306
u'<h1>name</h1> <p>description</p>')
307
>>> basic_extractors = map(BasicTypeExtractor, template.annotations)
308
>>> ex = RecordExtractor.apply(template, basic_extractors)[0]
309
- >>> ex.extract(page)
310
- [{u'description': [u'description'], u'name': [u'name']}]
+ >>> ex.extract(page) == [{u'description': [u'description'], u'name': [u'name']}]
+ True
311
"""
312
313
def __init__(self, extractors, template_tokens):
0 commit comments