docstr: Tests exception is raised if CUDA feature is ON but cuda version could not be determined
docstr_tok: ["Tests","exception","is","raised","if","CUDA","feature","is","ON","but","cuda","version","could","not","be","determined"]
code: def test_probe_variant_cuda_mkl(
      self, mock_cuda_version, mock_features
  ):
      """
      Tests exception is raised if CUDA feature is ON but cuda version could not be determined
      """
      mock_features.return_value = {"ONEDNN": True, "CUDA": True}
      mock_cuda_version.return_value = None
      with self.assertRaises(RuntimeError):
          probe_mxnet_variant("libmxnet.so")
  
imports: import unittest
  from unittest.mock import MagicMock, mock_open, patch
  from artifact_repository import *
label_desc: Use image node_id 17 for calling the TestArtifactRepositoryTool obj's underlying member method code with example usage: obj.test_probe_variant_cuda_mkl(mock_cuda_version, mock_features) without return types