pytest.py 195 B

12345678910111213
  1. from typing import Type
  2. class RaisesContext:
  3. def __enter__(self):
  4. pass
  5. def __exit__(self, _1, _2, _3):
  6. pass
  7. def raises(e: Type[Exception]) -> RaisesContext:
  8. pass