diff --git a/scrapely/extraction/regionextract.py b/scrapely/extraction/regionextract.py index d8e0d36..b528181 100644 --- a/scrapely/extraction/regionextract.py +++ b/scrapely/extraction/regionextract.py @@ -306,8 +306,8 @@ class RecordExtractor(object): u'

name

description

') >>> basic_extractors = map(BasicTypeExtractor, template.annotations) >>> ex = RecordExtractor.apply(template, basic_extractors)[0] - >>> ex.extract(page) - [{u'description': [u'description'], u'name': [u'name']}] + >>> ex.extract(page) == [{u'description': [u'description'], u'name': [u'name']}] + True """ def __init__(self, extractors, template_tokens):