mirror of
https://github.com/ANL-CEEESA/MIPLearn.git
synced 2025-12-06 09:28:51 -06:00
PickleGzInstance: Replace implicit load by load/free methods
This commit is contained in:
@@ -13,4 +13,5 @@ def test_usage() -> None:
|
||||
file = tempfile.NamedTemporaryFile()
|
||||
write_pickle_gz(original, file.name)
|
||||
pickled = PickleGzInstance(file.name)
|
||||
pickled.load()
|
||||
assert pickled.to_model() is not None
|
||||
|
||||
Reference in New Issue
Block a user