Skip to content

Commit 60d7fde

Browse files
committed
BUG: plugin: get optionflags from DTConfig
1 parent b07f1b6 commit 60d7fde

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
@@ -168,7 +168,7 @@ def collect(self):
168168
if self.config.dt_config.local_resources:
169169
copy_local_files(self.config.dt_config.local_resources, os.getcwd())
170170

171-
optionflags = doctest.get_optionflags(self)
171+
optionflags = dt_config.optionflags
172172

173173
# Plug in the custom runner: `PytestDTRunner`
174174
runner = _get_runner(self.config,

0 commit comments

Comments
 (0)