Skip to content

Commit

Permalink
Update pytest_doctestplus/plugin.py
Browse files Browse the repository at this point in the history
Co-authored-by: P. L. Lim <2090236+pllim@users.noreply.github.com>
  • Loading branch information
flying-sheep and pllim authored Nov 3, 2023
1 parent dc321b5 commit 19d378d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_doctestplus/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def collect(self):
fspath = self.fspath
filepath = self.fspath.basename

if filepath in {"setup.py", "__main__.py"}:
if filepath in ("setup.py", "__main__.py"):
return
elif filepath == "conftest.py":
if PYTEST_GE_7_0:
Expand Down

0 comments on commit 19d378d

Please sign in to comment.