File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ def __init__(self) -> None:
131
131
self .scripts_are_modules = False
132
132
133
133
# Config file name
134
- self .config_file = 'setup.cfg' # type: Optional[str]
134
+ self .config_file = None # type: Optional[str]
135
135
136
136
# Write junit.xml to given file
137
137
self .junit_xml = None # type: Optional[str]
Original file line number Diff line number Diff line change @@ -14,4 +14,6 @@ class ArgSuite(Suite):
14
14
def test_coherence (self ) -> None :
15
15
options = Options ()
16
16
_ , parsed_options = process_options ([], require_targets = False )
17
+ # FIX: test this too. Requires changing working dir to avoid finding 'setup.cfg'
18
+ options .config_file = parsed_options .config_file
17
19
assert_equal (options , parsed_options )
You can’t perform that action at this time.
0 commit comments