Explicitly export error and path from py

Required by mypy 1.7.0
This commit is contained in:
Bruno Oliveira 2023-11-14 07:29:40 -03:00
parent d4c56c72d8
commit 970d11cf34
1 changed files with 2 additions and 0 deletions

View File

@ -8,3 +8,5 @@ import _pytest._py.path as path
sys.modules["py.error"] = error sys.modules["py.error"] = error
sys.modules["py.path"] = path sys.modules["py.path"] = path
__all__ = ["error", "path"]