()
| 37 | |
| 38 | |
| 39 | def test_excinfo_simple() -> None: |
| 40 | try: |
| 41 | raise ValueError |
| 42 | except ValueError: |
| 43 | info = _pytest._code.ExceptionInfo.from_current() |
| 44 | assert info.type == ValueError |
| 45 | |
| 46 | |
| 47 | def test_excinfo_from_exc_info_simple() -> None: |
nothing calls this directly
no test coverage detected