Skip to content

Commit 1496c51

Browse files
committed
MAINT: put back skip empty doctests
1 parent 9dd1632 commit 1496c51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scpdt/plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def collect(self):
181181
# We utilize scpdt's `find_doctests` function to discover doctests in public, non-deprecated objects in the module
182182
# NB: additional postprocessing in pytest_collection_modifyitems
183183
for test in find_doctests(module, strategy="api", name=module.__name__, config=dt_config):
184-
# if test.examples: # skip empty doctests # FIXME: put this back (simplifies comparing the logs)
184+
if test.examples: # skip empty doctests
185185
yield doctest.DoctestItem.from_parent(
186186
self, name=test.name, runner=runner, dtest=test
187187
)

0 commit comments

Comments
 (0)