File tree 2 files changed +0
-5
lines changed
2 files changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -253,8 +253,6 @@ def _asdict_with_global_options(self) -> dict:
253
253
for option in resettable_options :
254
254
if option not in merged_options :
255
255
merged_options [option ] = RESET_VALUE
256
- if "preserve_external_changes" in merged_options :
257
- del merged_options ["preserve_external_changes" ]
258
256
# _util.Sentinel values are converted to `None` in ManifestEndpoint generation
259
257
# after other None values are removed - so as to keep them in the generated
260
258
# YAML output as 'null' values.
Original file line number Diff line number Diff line change @@ -87,9 +87,6 @@ def test_options_preserve_external_changes():
87
87
min_instances = 5 ,
88
88
)
89
89
options_asdict = options ._GLOBAL_OPTIONS ._asdict_with_global_options ()
90
- assert ("preserve_external_changes"
91
- not in options_asdict ), "option is still set"
92
-
93
90
assert (options_asdict ["max_instances" ] is
94
91
options .RESET_VALUE ), "option should be RESET_VALUE"
95
92
assert options_asdict ["min_instances" ] == 5 , "option should be set"
You can’t perform that action at this time.
0 commit comments