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 749346d commit 6da203fCopy full SHA for 6da203f
pytest_cases/common_pytest.py
@@ -591,6 +591,9 @@ def __init__(self, func):
591
from .plugin import PYTEST_CONFIG # late import to ensure config has been loaded by now
592
593
self.config = PYTEST_CONFIG
594
+ if self.config is None:
595
+ raise ValueError("Internal error - config has not been correctly loaded. Please report")
596
+
597
self.function = func
598
self.definition = MiniFuncDef(func.__name__)
599
self._calls = []
0 commit comments