diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-09-02 10:02:31 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-09-02 10:02:39 -0400 |
| commit | 290cc321bbbada3af4fde5eec14751d9a3e9d73d (patch) | |
| tree | cb3f58a93238e45d249f0f710c68c0d03f75c1b8 /cherrypy/lib | |
| parent | 63c6a22996a6b8744a5314abd389618f8928b599 (diff) | |
| download | cherrypy-git-290cc321bbbada3af4fde5eec14751d9a3e9d73d.tar.gz | |
Remove more references to six in doctest
Diffstat (limited to 'cherrypy/lib')
| -rw-r--r-- | cherrypy/lib/httputil.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cherrypy/lib/httputil.py b/cherrypy/lib/httputil.py index db35b6e3..ddafee5b 100644 --- a/cherrypy/lib/httputil.py +++ b/cherrypy/lib/httputil.py @@ -278,11 +278,11 @@ def valid_status(status): If status has no reason-phrase is supplied, a default reason- phrase will be provided. - >>> from six.moves import http_client - >>> from six.moves.BaseHTTPServer import BaseHTTPRequestHandler - >>> valid_status(http_client.ACCEPTED) == ( - ... int(http_client.ACCEPTED), - ... ) + BaseHTTPRequestHandler.responses[http_client.ACCEPTED] + >>> import http.client + >>> from http.server import BaseHTTPRequestHandler + >>> valid_status(http.client.ACCEPTED) == ( + ... int(http.client.ACCEPTED), + ... ) + BaseHTTPRequestHandler.responses[http.client.ACCEPTED] True """ |
