We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ea0b0 commit 9f412bcCopy full SHA for 9f412bc
tests/models/test_saveconfig.py
@@ -191,8 +191,10 @@ def test_double_qconfig_save(
191
"""
192
delete_config()
193
194
- qconfig_save(config_fp32, minimal=False)
195
+ # Creating a qcfg, then saving again will cause a warning -> ignore it
+ with pytest.warns(UserWarning, match="qcfg.json already exist, will overwrite."):
196
+ qconfig_save(config_fp32, minimal=False)
197
198
199
200
0 commit comments