diff --git a/docs/install.rst b/docs/install.rst index 6a1e9a21..1b07f94f 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -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 ----------------------- diff --git a/src/icalendar/tests/test_with_doctest.py b/src/icalendar/tests/test_with_doctest.py index 04a803e1..7710a003 100644 --- a/src/icalendar/tests/test_with_doctest.py +++ b/src/icalendar/tests/test_with_doctest.py @@ -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":