Fix all output_dir in test_trainer.py to use tmp_dir (#35266)

* update codecarbon

* replace directly-specified-test-dirs with tmp_dir

* pass tmp_dir to all get_regression_trainer

* test_trainer.py: Use tmp_dir consistently for all output_dir arguments

* fix some with...as tmp_dir blocks

* reflect the comments to improve test_trainer.py

* refresh .gitignore
This commit is contained in:
nhamanasu 2025-01-09 03:44:39 +09:00 committed by GitHub
parent 76da6ca034
commit b32938aeee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

File diff suppressed because it is too large Load diff