Skip to content

Commit

Permalink
--import-mode: allow for "importlib" (#8) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed authored Oct 22, 2019
1 parent 6b2ada0 commit 48affd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_pytest/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def pytest_addoption(parser):
group.addoption(
"--import-mode",
default="prepend",
choices=["prepend", "append"],
choices=["prepend", "append", "importlib"],
dest="importmode",
help="prepend/append to sys.path when importing test modules, "
"default is to prepend.",
Expand Down

0 comments on commit 48affd2

Please sign in to comment.