From 2f47800fb9f28e7929486fa2ad21a8018cb9b661 Mon Sep 17 00:00:00 2001 From: Nicco Kunzmann Date: Sat, 28 Sep 2024 16:39:53 +0100 Subject: [PATCH] correct install.rst --- docs/install.rst | 6 +++--- src/icalendar/tests/test_with_doctest.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index 6a1e9a2..1b07f94 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 04a803e..7710a00 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":