| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] qa/662 failing with python2.7 |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Mon, 27 Jul 2015 19:14:57 -0400 (EDT) |
| Cc: | PCP <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <55B6B178.7070409@xxxxxxxxxxxxxxxx> |
| References: | <55B6B178.7070409@xxxxxxxxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx> |
| Thread-index: | 1C4AZUwzHp/v1aK1KpLWWzAnB/Xq4A== |
| Thread-topic: | qa/662 failing with python2.7 |
----- Original Message ----- > Does qa/662 need a notrun guard for python2? Passing here on 2.7.5 FWIW. > If "no", can anyone shed light on the failure below? > > kenj@vm00:~/src/pcp/qa$ python --version > Python 2.7.3 > kenj@vm00:~/src/pcp/qa$ vi 662 > kenj@vm00:~/src/pcp/qa$ 662 > QA output created by 662 > > === IPv4 pmwebd testing via python === > Traceback (most recent call last): > File "src/test_webapi.py", line 34, in <module> > resp = req.json() > AttributeError: 'Response' object has no attribute 'json' > Hmm, I guess it could have been added between 2.7.3 and 2.7.5, but I haven't been able to confirm ... the docs don't seem to indicate whether it was missing in earlier versions: http://docs.python-requests.org/en/latest/api/#requests.Response.json cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [issue] pmwebd graphite api performance issue, Ken McDonell |
|---|---|
| Next by Date: | Re: [issue] pmwebd graphite api performance issue, Frank Ch. Eigler |
| Previous by Thread: | qa/662 failing with python2.7, Ken McDonell |
| Next by Thread: | pcp updates: python3 qa, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |