diff options
author | Gael Pasgrimaud <gael@gawel.org> | 2023-01-03 09:15:11 +0100 |
---|---|---|
committer | Gael Pasgrimaud <gael@gawel.org> | 2023-01-03 09:15:11 +0100 |
commit | 30d4a7b5e891e3745365c9035ca8e5743050a577 (patch) | |
tree | 4bdc668c0851942b4acc1573a02f2326f8834606 | |
parent | 75700f4417e55f465d7d4a5bff8b074c2b60da51 (diff) | |
download | webtest-30d4a7b5e891e3745365c9035ca8e5743050a577.tar.gz |
PyQuery object now use the html parser. Fix #245
-rw-r--r-- | webtest/response.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webtest/response.py b/webtest/response.py index 3f30d44..d2eee6c 100644 --- a/webtest/response.py +++ b/webtest/response.py @@ -499,7 +499,7 @@ class TestResponse(webob.Response): except ImportError: # pragma: no cover raise ImportError( "You must have PyQuery installed to use response.pyquery") - d = PyQuery(self.testbody) + d = PyQuery(self.testbody, parser='html') return d def showbrowser(self): |