class_docstr: Test DataID object creation and other methods.
class_docstr_tok: ["Test","DataID","object","creation","and","other","methods","."]
docstr: Test that asking for a bad calibration fails.
docstr_tok: ["Test","that","asking","for","a","bad","calibration","fails","."]
code: def test_bad_calibration(self):
      """Test that asking for a bad calibration fails."""
      from satpy.dataset.dataid import DataID
      from satpy.dataset.dataid import default_id_keys_config as dikc
  
      with pytest.raises(
          ValueError,
          match="_bad_ invalid value for <enum 'calibration'>",
      ):
          DataID(dikc, name="C05", calibration="_bad_")
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  from satpy.dataset.dataid import DataID, DataQuery, ModifierTuple, WavelengthRange, minimal_default_keys_config
  from satpy.readers.pmw_channels_definitions import FrequencyDoubleSideBand, FrequencyQuadrupleSideBand, FrequencyRange
  from satpy.tests.utils import make_cid, make_dataid, make_dsq
label_desc: Use image node_id 4 for calling the TestDataID obj's underlying member method code with example usage: obj.test_bad_calibration() without return types