(self)
| 64 | _ensure_kernels_installed() |
| 65 | |
| 66 | def setUp(self): |
| 67 | _unpatch_kernels() |
| 68 | # Instance attribute, so the descriptor protocol is not triggered. |
| 69 | from kernels.utils import _get_hf_api |
| 70 | from kernels import utils as kernels_utils |
| 71 | self.original_get_hf_api = _get_hf_api |
| 72 | self.kernels_utils = kernels_utils |
| 73 | |
| 74 | def tearDown(self): |
| 75 | _unpatch_kernels() |
nothing calls this directly
no test coverage detected