forked from mlcommons/mlcube
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previous implementation used the mock module to mock io.open calls to test mlcubes. This worked for all calls to io.open. New implementation invokes subprocess.check_output that seems to be using io.open internally that did not work with existing implementation. New mocking strategy is to mock io.open call only for specific file paths (e.g., paths to mlcube configuration files).
- Loading branch information
1 parent
9583f56
commit 3c45bb7
Showing
1 changed file
with
33 additions
and
4 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