[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2022-02-07 16:40:52 +00:00 committed by Ran Benita
parent d45a19cfde
commit 2073cce105
1 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ from _pytest.stash import StashKey
if TYPE_CHECKING:
from _pytest.assertion import AssertionState
assertstate_key = StashKey["AssertionState"]()
@ -280,7 +280,7 @@ class AssertionRewritingHook(importlib.abc.MetaPathFinder, importlib.abc.Loader)
from importlib.readers import FileReader
else:
from importlib.resources.readers import FileReader
return FileReader(types.SimpleNamespace(path=self._rewritten_names[name]))