Skip to content

Commit 49cfbf6

Browse files
committed
Re-enable doctest
1 parent f9fa3e1 commit 49cfbf6

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎pyproject.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,14 @@ num_workers = 4
111111
show_error_codes = true
112112

113113
[tool.pytest]
114+
addopts = [ "--doctest-modules" ]
114115
filterwarnings = [
115116
"error",
116117
# pytest-codspeed 5.0.4 supports up to 3.15
117118
"ignore:Python 3.16 is not officially supported by pytest-codspeed:RuntimeWarning",
118119
]
119120
minversion = "9.0"
120-
testpaths = [ "tests" ]
121+
testpaths = [ "src", "tests" ]
121122

122123
[tool.coverage]
123124
run.disable_warnings = [ "no-sysmon" ] # 3.11

‎tox.ini‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,3 @@ deps =
5656
babel
5757
commands =
5858
pybabel --quiet compile --directory src/humanize/locale --domain humanize
59-
60-
[pytest]
61-
addopts = --color=yes --doctest-modules

0 commit comments

Comments
 (0)