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 1cb5316 commit e77db5eCopy full SHA for e77db5e
1 file changed
tests/unittest/others/test_builder.py
@@ -57,7 +57,9 @@ def test_basic_builder_flow(self):
57
assert engine is not None
58
refit_engine = builder.refit_engine(network, engine)
59
assert refit_engine is not None
60
- builder.save_config(builder_config, tempfile.mktemp())
+ with tempfile.TemporaryDirectory() as tmpdir:
61
+ config_path = f"{tmpdir}/builder_config.json"
62
+ builder.save_config(builder_config, config_path)
63
64
def test_top_level_dont_have_functional_apis(self):
65
# This did not check all the functional apis, but should already prevent
0 commit comments