src/py.py
raw| 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 | import _pytest._py.error as error |
| 9 | import _pytest._py.path as path |
| 10 | |
| 11 | |
| 12 | sys.modules["py.error"] = error |
| 13 | sys.modules["py.path"] = path |
| 14 | |
| 15 | __all__ = ["error", "path"] |