Skip to content

Commit f9f41e6

Browse files
committed
reportopts: A: put "Pp" in front
1 parent 0f7c7a9 commit f9f41e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/_pytest/terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def getreportopt(config):
170170
if char == "a":
171171
reportopts = "sxXwEf"
172172
elif char == "A":
173-
reportopts = "sxXwEfpP"
173+
reportopts = "PpsxXwEf"
174174
break
175175
elif char not in reportopts:
176176
reportopts += char

testing/test_terminal.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ class Option(object):
893893
assert getreportopt(config) == "sxXwEf" # NOTE: "w" included!
894894

895895
config.option.reportchars = "A"
896-
assert getreportopt(config) == "sxXwEfpP"
896+
assert getreportopt(config) == "PpsxXwEf"
897897

898898

899899
def test_terminalreporter_reportopt_addopts(testdir):

0 commit comments

Comments
 (0)