Skip to content

Commit cf61019

Browse files
derek73claude
andcommitted
test: run doctests automatically with pytest
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b76fa5f commit cf61019

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ module = [
5656
ignore_missing_imports = true
5757

5858
[tool.pytest.ini_options]
59-
testpaths = ["tests"]
59+
testpaths = ["tests", "nameparser"]
60+
addopts = "--doctest-modules"
6061
python_classes = ["*Tests", "*TestCase"]
6162
# Fail if an xfail-marked test unexpectedly passes, so a fixed/regressed
6263
# expectation surfaces instead of silently turning into an xpass.

0 commit comments

Comments
 (0)