Skip to content

Commit 1c71acd

Browse files
committed
bug fix in trainer_test
1 parent cdb4fad commit 1c71acd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/trainer/trainer_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -782,8 +782,7 @@ def test_trainer(self):
782782

783783
def tearDown(self):
784784
# remove dir only when the test passed
785-
# shutil.rmtree(self.config.checkpoint_job_dir)
786-
pass
785+
shutil.rmtree(self.config.checkpoint_job_dir)
787786

788787

789788
class TestTrainerMIX(BaseTrainerCase):

0 commit comments

Comments
 (0)