def METHOD_NAME(self):
    # Check that the default is using conda environment
    by, info, warns = self.remote_do(self.do_clear_envs)
    if has_cuda:
        self.assertEqual(by, 'Conda environment')
    else:
        self.assertEqual(by, "<unknown>")
        self.assertIsNone(info)
    self.assertFalse(warns)
    # Check that CUDA_HOME works by removing conda-env
    self.remote_do(self.do_clear_envs)
    by, info, warns = self.remote_do(self.do_set_cuda_home)
    self.assertEqual(by, 'CUDA_HOME')
    self.assertFalse(warns)
    if IS_WIN32:
        self.assertEqual(info, os.path.join('mycudahome', 'bin'))
    elif IS_OSX:
        self.assertEqual(info, os.path.join('mycudahome', 'lib'))
    else:
        self.assertEqual(info, os.path.join('mycudahome', 'lib64'))
    if get_system_ctk() is None:
        # Fake remove conda environment so no cudatoolkit is available
        by, info, warns = self.remote_do(self.do_clear_envs)
        self.assertEqual(by, "<unknown>")
        self.assertIsNone(info)
        self.assertFalse(warns)
    else:
        # Use system available cudatoolkit
        by, info, warns = self.remote_do(self.do_clear_envs)
        self.assertEqual(by, 'System')
        self.assertFalse(warns)