test_ok1/testing/example_scripts/conftest_usageerror/conftest.py

5 lines
86 B
Python

def pytest_configure(config):
import pytest
raise pytest.UsageError("hello")