Supressing the header from printing for pytest

Viewed 559

How do I suppress the header (~4 lines) from printing?

============================= test session starts ==============================
platform linux -- Python 3.5.3, pytest-3.2.1, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python3
cachedir: .cache
rootdir: /sandboxes/beetle, inifile:
collecting ... collected 1 item
2 Answers

Running pytest with the -q option will suppress the header (but possibly other information as well)

pytest documentation

Related