Skip to content

Conversation

bzoracler
Copy link
Contributor

This is a minor fix to a reference to a no-longer-existing private module. There should be no runtime effects, because the fix is made under a typing.TYPE_CHECKING block.


I've read through #7469, where there was a public API typing change

  • _pytest.code.ExceptionInfo -> pytest.ExceptionInfo

but as the rest of the references in the same block in _pytest/hookspec.py are all for private modules, I thought it would be best to continue using a private module instead of switching the reference to a public from pytest import ExceptionInfo.

Copy link
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants