Skip to content

Commit

Permalink
correct install.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Sep 28, 2024
1 parent 443519c commit 2f47800
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ Try it out:

.. code-block:: pycon
Python 3.9.5 (default, Nov 23 2021, 15:27:38)
Python 3.12.0 (main, Mar 1 2024, 09:09:21) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import icalendar
>>> icalendar.__version__
'6.0.0a0'
>>> icalendar.version_tuple[0]
6
Build the documentation
-----------------------
Expand Down
2 changes: 1 addition & 1 deletion src/icalendar/tests/test_with_doctest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def test_documentation_file(document, zoneinfo_only, env_for_doctest, tzp):
functions are also replaced to work.
"""
try:
test_result = doctest.testfile(document, module_relative=False, globs=env_for_doctest, raise_on_error=True)
test_result = doctest.testfile(document, module_relative=False, globs=env_for_doctest, raise_on_error=False)
except doctest.UnexpectedException as e:
ty, err, tb = e.exc_info
if issubclass(ty, ModuleNotFoundError) and err.name == "pytz":
Expand Down

0 comments on commit 2f47800

Please sign in to comment.