We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3420506 commit 308b170Copy full SHA for 308b170
spacy/tests/conftest.py
@@ -3,7 +3,13 @@
3
4
5
def pytest_addoption(parser):
6
- parser.addoption("--slow", action="store_true", help="include slow tests")
+ try:
7
+ parser.addoption("--slow", action="store_true", help="include slow tests")
8
+ parser.addoption("--issue", action="store", help="test specific issues")
9
+ # Options are already added, e.g. if conftest is copied in a build pipeline
10
+ # and runs twice
11
+ except ValueError:
12
+ pass
13
14
15
def pytest_runtest_setup(item):
0 commit comments