-
Notifications
You must be signed in to change notification settings - Fork 864
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent unit test of
boltztrap2
from modifying files in place (#4095)
* rename setup method * use temp dir for TestBztTransportProperties * revert to setup method * revert previous changes, but split tests by sp/non-sp * use temp dir * Revert "use temp dir" This reverts commit f403974. * Revert "revert previous changes, but split tests by sp/non-sp" This reverts commit 950ac97. * properly capture bt2 import exception * properly setup * try to revert to HEAD * also revert testcase * typo, that's the reason * add back TestCase inherit * extract tests from setup method * use temp dir * use a global skip mark * use temp dir for TestBztInterpolator as well * NEED CONFIRM: replace BoltztrapError with more semantic exception * pre-commit auto-fixes --------- Signed-off-by: Shyue Ping Ong <[email protected]> Co-authored-by: Shyue Ping Ong <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
49ebc52
commit 6992aee
Showing
2 changed files
with
93 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters