blob: 15b65c5170794e9b2b2e82ad5c26993a051e26d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
This doctest relies on dictionary key order, so remove it.
--- a/docs/index.txt
+++ b/docs/index.txt
@@ -321,11 +321,6 @@
<Element html at ...>
>>> res.lxml.xpath('//body/div')[0].text
'hey!'
- >>> res = TestResponse(content_type='application/json',
- ... body=b'{"a":1,"b":2}')
- >>> res.request = TestRequest.blank('/')
- >>> list(res.json.values())
- [1, 2]
>>> res = TestResponse(content_type='application/xml',
... body=b'<xml><message>hey!</message></xml>')
>>> res.request = TestRequest.blank('/')
|