Coverage for src/ensae_teaching_cs/__init__.py: 85%
13 statements
« prev ^ index » next coverage.py v7.1.0, created at 2023-04-28 06:23 +0200
« prev ^ index » next coverage.py v7.1.0, created at 2023-04-28 06:23 +0200
1# -*- coding: utf-8 -*-
2"""
3@file
4@brief Module *ensae_teaching_cs*.
5Functions, examples, for the lectures at the
6:epkg:`ENSAE`. See :epkg:`ensae_teaching_cs`.
7"""
9import sys
10import os
11if sys.version_info[0] < 3:
12 raise ImportError("ensae_teaching_cs only works with Python 3")
14__version__ = "0.10.3385"
15__author__ = "Xavier Dupré"
16__github__ = "https://github.com/sdpython/ensae_teaching_cs"
17__url__ = "http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx/index.html"
18__license__ = "MIT License"
19__blog__ = os.path.abspath(
20 os.path.join(os.path.dirname(__file__), "rss_teachings.xml"))
23def _setup_hook(add_print=False, unit_test=False):
24 """
25 function executed before running the unit tests and the documentation,
26 does nothing
27 """
28 pass