Skip to content

Commit cb8df5a

Browse files
committed
Enable doctests on modules
This patch enables review of Python code inlined in the `case-utils` modules' docstrings. At the moment, no doctests are written, so this patch has no effect on the test suite. It is provided before tests are written to demonstrate a non-impact on CI. A different patch series will be exercising doctests. References: * https://docs.pytest.org/en/7.1.x/how-to/doctest.html Signed-off-by: Alex Nelson <[email protected]>
1 parent fe56b72 commit cb8df5a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ check: \
5959
check-mypy \
6060
check-isomorphic_diff \
6161
check-case_utils
62+
source venv/bin/activate \
63+
&& pytest \
64+
--doctest-modules \
65+
--log-level=DEBUG \
66+
$(top_srcdir)/case_utils
6267
source venv/bin/activate \
6368
&& pytest \
6469
--ignore case_utils \

0 commit comments

Comments
 (0)