Skip to content

Commit ddf07f5

Browse files
committed
pytest qol
1 parent 59ace21 commit ddf07f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
from tests.helpers.worker import ExternalPythonWorker, ExternalWorker
4343

4444

45+
def pytest_runtest_setup(item):
46+
"""Print a newline so that custom printed output starts on new line."""
47+
if item.config.getoption("-s"):
48+
print()
49+
50+
4551
def pytest_addoption(parser):
4652
parser.addoption(
4753
"-E",

0 commit comments

Comments
 (0)