diff options
Diffstat (limited to 'src/_pytest/resultlog.py')
-rw-r--r-- | src/_pytest/resultlog.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/_pytest/resultlog.py b/src/_pytest/resultlog.py index cd6824abf..356a39c12 100644 --- a/src/_pytest/resultlog.py +++ b/src/_pytest/resultlog.py @@ -1,6 +1,4 @@ -""" log machine-parseable test session result information in a plain -text file. -""" +"""log machine-parseable test session result information to a plain text file.""" import os import py @@ -30,7 +28,7 @@ def pytest_addoption(parser: Parser) -> None: def pytest_configure(config: Config) -> None: resultlog = config.option.resultlog - # prevent opening resultlog on worker nodes (xdist) + # Prevent opening resultlog on worker nodes (xdist). if resultlog and not hasattr(config, "workerinput"): dirname = os.path.dirname(os.path.abspath(resultlog)) if not os.path.isdir(dirname): |