Debian Codegraph @

testing/example_scripts/conftest_usageerror/conftest.py

raw
1 # mypy: allow-untyped-defs
2 from __future__ import annotations
3
4
5 def pytest_configure(config):
6 import pytest
7
8 raise pytest.UsageError("hello")
9
10
11 def pytest_unconfigure(config):
12 print("pytest_unconfigure_called")