| 1 | # shim for pylib going away |
| 2 | # if pylib is installed this file will get skipped |
| 3 | # (`py/__init__.py` has higher precedence) |
| 4 | from __future__ import annotations |
| 5 | |
| 6 | import sys |
| 7 | |
| 8 | from _pytest._py import error, path |
| 9 | |
| 10 | sys.modules["py.error"] = error |
| 11 | sys.modules["py.path"] = path |
| 12 | |
| 13 | __all__ = ["error", "path"] |