pytest2/doc/en/how-to
Ran Benita f2d65c85f4 code: export ExceptionInfo for typing purposes
This type is most prominent in `pytest.raises` and we should allow to
refer to it by a public name.

The type is not in a perfectly "exposable" state. In particular:

- The `traceback` property with type `Traceback` which is derived from
  the `py.code` API and exposes a bunch more types transitively. This
  stuff is *not* exported and probably won't be.

- The `getrepr` method which probably should be private.

But they're already used in the wild so no point in just hiding them
now.

The __init__ API is hidden -- the public API for this are the `from_*`
classmethods.
2021-03-13 15:59:44 +02:00
..
assert.rst code: export ExceptionInfo for typing purposes 2021-03-13 15:59:44 +02:00
bash-completion.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
capture.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
existingtestsuite.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
mark.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
monkeypatch.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
nose.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
parametrize.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
plugins.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
skipping.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
tmpdir.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00
usage.rst Added how-to and reference directories. 2021-03-11 22:13:01 +00:00