kopia lustrzana https://github.com/collective/icalendar
correct install.rst
rodzic
443519c7c4
commit
2f47800fb9
|
@ -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
|
||||
-----------------------
|
||||
|
|
|
@ -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":
|
||||
|
|
Ładowanie…
Reference in New Issue