mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
Test: add missing cleanup in TestGenerate
fixes a warning on some systems
This commit is contained in:

committed by
Fabian Dill

parent
cb6d377796
commit
4f10dbb896
@@ -34,6 +34,9 @@ class TestGenerateMain(unittest.TestCase):
|
||||
os.chdir(self.run_dir)
|
||||
self.output_tempdir = TemporaryDirectory(prefix='AP_out_')
|
||||
|
||||
def tearDown(self):
|
||||
self.output_tempdir.cleanup()
|
||||
|
||||
def test_generate_absolute(self):
|
||||
sys.argv = [sys.argv[0], '--seed', '0',
|
||||
'--player_files_path', str(self.abs_input_dir),
|
||||
|
Reference in New Issue
Block a user