File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -132,18 +132,16 @@ def pytest_configure():
132132 # load all model packages used in tests
133133 pytest .model_packages = {name : export_resource_package (model_sources [name ]) for name in load_model_packages }
134134
135- mamba_cmd = "micromamba"
135+ pytest . mamba_cmd = "micromamba"
136136 try :
137- subprocess .run (["which" , mamba_cmd ], check = True )
137+ subprocess .run (["which" , pytest . mamba_cmd ], check = True )
138138 except (subprocess .CalledProcessError , FileNotFoundError ):
139- mamba_cmd = "mamba"
139+ pytest . mamba_cmd = "mamba"
140140 try :
141- subprocess .run (["which" , mamba_cmd ], check = True )
141+ subprocess .run (["which" , pytest . mamba_cmd ], check = True )
142142 except (subprocess .CalledProcessError , FileNotFoundError ):
143143 pytest .mamba_cmd = None
144144
145- pytest .mamba_cmd = mamba_cmd
146-
147145
148146#
149147# model groups of the form any_<weight format>_model that include all models providing a specific weight format
You can’t perform that action at this time.
0 commit comments