@@ -125,14 +125,14 @@ def pytest_addoption(parser):
125
125
126
126
parser .addoption ("--doctest-plus-generate-diff" ,
127
127
help = (
128
- "Generate a diff for where expected output and real "
128
+ "Generate a diff where expected output and actual "
129
129
"output differ. "
130
130
"The diff is printed to stdout if not using "
131
131
"`--doctest-plus-generate-diff=overwrite` which "
132
132
"causes editing of the original files.\n "
133
133
"NOTE: Unless an in-pace build is picked up, python "
134
134
"file paths may point to unexpected places. "
135
- "If inplace is not used, will create a temporary "
135
+ "If `" overwrite "` is not used, will create a temporary "
136
136
"folder and use `git diff -p` to generate a diff." ),
137
137
choices = ["diff" , "overwrite" ],
138
138
action = "store" , nargs = "?" , default = False , const = "diff" )
@@ -886,7 +886,7 @@ class DebugRunnerPlus(doctest.DebugRunner):
886
886
887
887
def __init__ (self , checker = None , verbose = None , optionflags = 0 ,
888
888
continue_on_failure = True , generate_diff = False ):
889
- # generated_diff is False, "diff", or "inplace " (only need truthiness)
889
+ # generated_diff is False, "diff", or "overwrite " (only need truthiness)
890
890
DebugRunnerPlus ._generate_diff = generate_diff
891
891
892
892
super ().__init__ (checker = checker , verbose = verbose , optionflags = optionflags )
0 commit comments