Skip to content

Commit 0257e8d

Browse files
committed
Fixes #61
1 parent 57f5741 commit 0257e8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scrapely/extraction/regionextract.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,8 @@ class RecordExtractor(object):
306306
u'<h1>name</h1> <p>description</p>')
307307
>>> basic_extractors = map(BasicTypeExtractor, template.annotations)
308308
>>> ex = RecordExtractor.apply(template, basic_extractors)[0]
309-
>>> ex.extract(page)
310-
[{u'description': [u'description'], u'name': [u'name']}]
309+
>>> ex.extract(page) == [{u'description': [u'description'], u'name': [u'name']}]
310+
True
311311
"""
312312

313313
def __init__(self, extractors, template_tokens):

0 commit comments

Comments
 (0)