docstr: Test that a RuntimeError is thrown if an impossible feature-disabling
  request is made. This includes disabling a baseline feature.
docstr_tok: ["Test","that","a","RuntimeError","is","thrown","if","an","impossible","feature-disabling","request","is","made",".","This","includes","disabling","a","baseline","feature","."]
code: def test_impossible_feature_disable(self):
      """
      Test that a RuntimeError is thrown if an impossible feature-disabling
      request is made. This includes disabling a baseline feature.
      """
  
      if self.BASELINE_FEAT is None:
          pytest.skip("There are no unavailable features to test with")
      bad_feature = self.BASELINE_FEAT
      self.env["NPY_DISABLE_CPU_FEATURES"] = bad_feature
      msg = (
          f"You cannot disable CPU feature '{bad_feature}', since it is "
          "part of the baseline optimizations"
      )
      err_type = "RuntimeError"
      self._expect_error(msg, err_type)
  
imports: import sys, platform, re, pytest
  from numpy.core._multiarray_umath import __cpu_features__, __cpu_baseline__, __cpu_dispatch__
  import numpy
  import subprocess
  import pathlib
  import os
  import re
label_desc: Use image node_id 8 for calling the TestEnvPrivation obj's underlying member method code with example usage: obj.test_impossible_feature_disable() without return types