Skip to content

Commit

Permalink
Fix test and warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
icemac committed Apr 3, 2024
1 parent eee7680 commit 22dfcc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down Expand Up @@ -266,4 +266,4 @@


# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {'http://docs.python.org/': None}
intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
4 changes: 2 additions & 2 deletions docs/narrative.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,9 @@ library):

.. doctest::

>>> from six.moves import http_client
>>> import http.client
>>> browser.open('http://localhost/@@/testbrowser/simple.html')
>>> isinstance(browser.headers, http_client.HTTPMessage)
>>> isinstance(browser.headers, http.client.HTTPMessage)
True

The headers can be accessed as a string:
Expand Down

0 comments on commit 22dfcc4

Please sign in to comment.