Skip to content

Commit

Permalink
Fix whitespace issue in test_pyquery.py
Browse files Browse the repository at this point in the history
This resolves two broken tests for me: test_replaceWith,
test_replaceWith_with_function
  • Loading branch information
jbergstroem committed Apr 15, 2014
1 parent f35c197 commit 531fed2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_pyquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,13 +379,11 @@ def test_class(self):

class TestHTMLParser(TestCase):
xml = "<div>I'm valid XML</div>"
html = '''
<div class="portlet">
html = '''<div class="portlet">
<a href="/toto">TestimageMy link text</a>
<a href="/toto2">imageMy link text 2</a>
Behind you, a three-headed HTML&dash;Entity!
</div>
'''
</div>'''

def test_parser_persistance(self):
d = pq(self.xml, parser='xml')
Expand Down

0 comments on commit 531fed2

Please sign in to comment.