Skip to content

Commit 0fdb412

Browse files
committed
Merge pull request #62 from cyberplant/master
Fixes #61
2 parents 57f5741 + 0257e8d commit 0fdb412

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)