8000 Update for merge with Jerry Checkpoint multi-page readability work · EvaSDK/python-readability@99d5fc0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 99d5fc0

Browse files
committed
Update for merge with Jerry Checkpoint multi-page readability work
1 parent f02fe79 commit 99d5fc0

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/readability_lxml/readability.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727

2828

2929
REGEXES = {
30-
<<<<<<< HEAD:src/readability_lxml/readability.py
3130
'unlikelyCandidatesRe': re.compile(
3231
('combx|comment|community|disqus|extra|foot|header|menu|remark|rss|'
3332
'shoutbox|sidebar|sponsor|ad-break|agegate|pagination|pager|popup|'

src/tests/regression.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import re
1818
import sys
1919
import unittest
20-
import readability.urlfetch
2120
import yaml
2221

2322
from lxml.html import builder as B

src/tests/test_readability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ class TestMultiPageHelpers(unittest.TestCase):
150150
def test_find_next_page_url(self):
151151
"""Verify we can find a next page url in the html body"""
152152
html = """
153-
<html><body><a href="/?page=2">2</a></body></html>
153+
<html><body><a href="/?page=2">next</a></body></html>
154154
"""
155155
from lxml.html import document_fromstring
156156
doc = document_fromstring(html)

0 commit comments

Comments
 (0)
0