Skip to content

Commit 8db140e

Browse files
committed
pytest 8.3 changed an internal detail
1 parent bc64456 commit 8db140e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cwltest/plugin.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
from cwltest import REQUIRED, UNSUPPORTED_FEATURE, logger, utils
2929

3030
if TYPE_CHECKING:
31-
from _pytest._code.code import ExceptionInfo, _TracebackStyle
31+
from _pytest._code.code import ExceptionInfo, TracebackStyle
3232
from _pytest.config import Config
3333
from _pytest.config import Config as PytestConfig
3434
from _pytest.config import PytestPluginManager
@@ -207,7 +207,7 @@ def runtest(self) -> None:
207207
def repr_failure(
208208
self,
209209
excinfo: "ExceptionInfo[BaseException]",
210-
style: Optional["_TracebackStyle"] = None,
210+
style: Optional["TracebackStyle"] = None,
211211
) -> str:
212212
"""
213213
Document failure reason.

mypy-requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
mypy==1.11.1
2+
pytest >= 8.3, < 9
23
types-setuptools
34
types-requests
45
types-PyYAML

0 commit comments

Comments
 (0)