##// END OF EJS Templates
Fix unintentional skipping of module level doctests...
Fix unintentional skipping of module level doctests Importing `skip_doctest` decorator unintentionally marks for skipping a module level doctest. It happens because doctests discovery only checks whether a variable with name `skip_doctest` is presented without checking the type. I have renamed the 'magic' variable name to `__skip_doctest__` to resolve the name clash, and also made the check actually depend on the variable content. The module level doctest in `core/debugger.py` was previously unintentionally skipped and now is disabled because it contains syntax/name errors.

File last commit:

r26208:778dac10
r26873:17153999
Show More
MANIFEST.in
47 lines | 820 B | text/plain | TextLexer
include README.rst
include COPYING.rst
include LICENSE
include setupbase.py
include setupegg.py
include MANIFEST.in
include pytest.ini
include mypy.ini
include .mailmap
include .flake8
recursive-exclude tools *
exclude tools
exclude CONTRIBUTING.md
exclude .editorconfig
graft setupext
graft scripts
# Load main dir but exclude things we don't want in the distro
graft IPython
# Documentation
graft docs
exclude docs/\#*
exclude docs/man/*.1.gz
exclude .git-blame-ignore-revs
# Examples
graft examples
# docs subdirs we want to skip
prune docs/build
prune docs/gh-pages
prune docs/dist
# Patterns to exclude from any directory
global-exclude *~
global-exclude *.flc
global-exclude *.yml
global-exclude *.pyc
global-exclude *.pyo
global-exclude .dircopy.log
global-exclude .git
global-exclude .ipynb_checkpoints