#2533: clean up temp items in tests + fixing the CLI tests
This commit is contained in:
@@ -38,3 +38,5 @@ def test_rllib_single_agent_compatibility():
|
||||
save_file = Path(tempfile.gettempdir()) / "ray/"
|
||||
algo.save(save_file)
|
||||
assert save_file.exists()
|
||||
|
||||
save_file.unlink() # clean up
|
||||
|
||||
@@ -25,3 +25,4 @@ def test_sb3_compatibility():
|
||||
model.save(save_path)
|
||||
|
||||
assert (save_path).exists()
|
||||
save_path.unlink() # clean up
|
||||
|
||||
Reference in New Issue
Block a user