Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
FileDocTestSource._test_enough_doctest doctest: Do not load .py files…
Browse files Browse the repository at this point in the history
… that are not a sage module
  • Loading branch information
mkoeppe committed Feb 24, 2020
1 parent 51e7f51 commit fef5a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/doctest/sources.py
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ def _test_enough_doctests(self, check_extras=True, verbose=True):
....: _, ext = os.path.splitext(F)
....: if ext in ('.py', '.pyx', '.pxd', '.pxi', '.sage', '.spyx', '.rst'):
....: filename = os.path.join(path, F)
....: FDS = FileDocTestSource(filename, DocTestDefaults(long=True,optional=True))
....: FDS = FileDocTestSource(filename, DocTestDefaults(long=True, optional=True, force_lib=True))
....: FDS._test_enough_doctests(verbose=False)
There are 3 unexpected tests being run in sage/doctest/parsing.py
There are 1 unexpected tests being run in sage/doctest/reporting.py
Expand Down

0 comments on commit fef5a5f

Please sign in to comment.