py.py 329 B

123456789101112131415
  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. import sys
  6. import _pytest._py.error as error
  7. import _pytest._py.path as path
  8. sys.modules["py.error"] = error
  9. sys.modules["py.path"] = path
  10. __all__ = ["error", "path"]