Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_pytest/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def getreportopt(config):
if char == "a":
reportopts = "sxXwEf"
elif char == "A":
reportopts = "sxXwEfpP"
reportopts = "PpsxXwEf"
break
elif char not in reportopts:
reportopts += char
Expand Down
2 changes: 1 addition & 1 deletion testing/test_terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ class Option(object):
assert getreportopt(config) == "sxXwEf" # NOTE: "w" included!

config.option.reportchars = "A"
assert getreportopt(config) == "sxXwEfpP"
assert getreportopt(config) == "PpsxXwEf"


def test_terminalreporter_reportopt_addopts(testdir):
Expand Down