Skip to content

Commit

Permalink
Remove import from private package
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelboulton committed Jan 6, 2024
1 parent 1961b18 commit c9c709f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tavern/_core/pytest/item.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import pytest
import yaml
from _pytest._code.code import ExceptionInfo
from _pytest.nodes import Node
from pytest import Mark, MarkDecorator

Expand Down Expand Up @@ -246,7 +245,7 @@ def runtest(self) -> None:
)

def repr_failure(
self, excinfo: ExceptionInfo[BaseException], style: Optional[str] = None
self, excinfo: pytest.ExceptionInfo[BaseException], style: Optional[str] = None
):
"""called when self.runtest() raises an exception.
Expand Down

0 comments on commit c9c709f

Please sign in to comment.