Skip to content

Commit ae33279

Browse files
committed
reportopts: A: put "Pp" in front
1 parent 19035f4 commit ae33279

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
@@ -846,7 +846,7 @@ class Option(object):
846846
assert getreportopt(config) == "sxXwEf" # NOTE: "w" included!
847847

848848
config.option.reportchars = "A"
849-
assert getreportopt(config) == "sxXwEfpP"
849+
assert getreportopt(config) == "PpsxXwEf"
850850

851851

852852
def test_terminalreporter_reportopt_addopts(testdir):

0 commit comments

Comments
 (0)