diff --git a/_pytest/logging.py b/_pytest/logging.py index 1b71a544e..2d33f98ea 100644 --- a/_pytest/logging.py +++ b/_pytest/logging.py @@ -21,6 +21,7 @@ def get_option_ini(config, *names): if ret: return ret + def pytest_addoption(parser): """Add options to control log capturing."""