()
| 52 | |
| 53 | |
| 54 | def test_excinfo_from_exc_info_simple() -> None: |
| 55 | try: |
| 56 | raise ValueError |
| 57 | except ValueError as e: |
| 58 | assert e.__traceback__ is not None |
| 59 | info = _pytest._code.ExceptionInfo.from_exc_info((type(e), e, e.__traceback__)) |
| 60 | assert info.type == ValueError |
| 61 | |
| 62 | |
| 63 | def test_excinfo_from_exception_simple() -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…