()
| 44 | |
| 45 | |
| 46 | def test_excinfo_simple() -> None: |
| 47 | try: |
| 48 | raise ValueError |
| 49 | except ValueError: |
| 50 | info = _pytest._code.ExceptionInfo.from_current() |
| 51 | assert info.type == ValueError |
| 52 | |
| 53 | |
| 54 | def test_excinfo_from_exc_info_simple() -> None: |
nothing calls this directly
no test coverage detected