https://gist.github.com/kwmiebach/3fd49612ef7a52b5ce3a
-s: print standard output
—tb=short / —tb=line / —tb=no: short stack trace
Suppress the first exception when catching an exception in py.test and raising an error
Test
for the pytest discovery to find it.https://docs.pytest.org/en/latest/goodpractices.html#test-discovery
ValueError: option names already added pytest
items = pytester.runpytest("--collectonly", x)
skip collecting
pytest --ignore=spacy/tests/regression/test_issue5230.pyignore
skip running, but still collecting
pytest --deselect=numpy/lib/tests/test_function_base.py::TestLerp::test_linear_interpolation_formula_symmetric