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 2912e3a commit 338f763Copy full SHA for 338f763
conftest.py
@@ -16,8 +16,9 @@
16
PYTEST_MIN_VERSION = '3.3.0'
17
18
if LooseVersion(pytest.__version__) < PYTEST_MIN_VERSION:
19
- raise('Your version of pytest is too old, you should have at least '
20
- 'pytest >= {} installed.'.format(PYTEST_MIN_VERSION))
+ raise ImportError('Your version of pytest is too old, you should have '
+ 'at least pytest >= {} installed.'
21
+ .format(PYTEST_MIN_VERSION))
22
23
24
def pytest_addoption(parser):
0 commit comments