Classes | |
class | Capture |
class | Output |
class | SanitizedString |
class | Unordered |
Functions | |
def | capture (capsys) |
def | doc () |
def | msg () |
def | pytest_assertrepr_compare (op, left, right) |
def | suppress (exception) |
def | gc_collect () |
def | pytest_configure () |
Variables | |
collect_ignore | |
def conftest.capture | ( | capsys | ) |
Extended `capsys` with context manager and custom equality operators
Definition at line 124 of file conftest.py.
def conftest.doc | ( | ) |
Sanitize docstrings and add custom failure explanation
Definition at line 165 of file conftest.py.
def conftest.gc_collect | ( | ) |
Run the garbage collector twice (needed when running reference counting tests with PyPy)
Definition at line 199 of file conftest.py.
def conftest.msg | ( | ) |
Sanitize messages and add custom failure explanation
Definition at line 178 of file conftest.py.
def conftest.pytest_assertrepr_compare | ( | op, | |
left, | |||
right | |||
) |
Hook to insert custom failure explanation
Definition at line 184 of file conftest.py.
def conftest.pytest_configure | ( | ) |
Definition at line 206 of file conftest.py.
def conftest.suppress | ( | exception | ) |
Suppress the desired exception
Definition at line 191 of file conftest.py.
conftest.collect_ignore |
Definition at line 26 of file conftest.py.