class_docstr: Test the EPIC L1b HDF5 reader.
class_docstr_tok: ["Test","the","EPIC","L1b","HDF5","reader","."]
docstr: Test that error is raised if a bad calibration is used.
docstr_tok: ["Test","that","error","is","raised","if","a","bad","calibration","is","used","."]
code: def test_bad_calibration(self, setup_hdf5_file):
      """Test that error is raised if a bad calibration is used."""
      from satpy.tests.utils import make_dsq
  
      test_reader = self._setup_h5(setup_hdf5_file)
  
      # Test nonsense calibration
      with pytest.raises(KeyError):
          test_reader.load(
              [make_dsq(name="B317", calibration="potatoes")]
          )
  
file_path: satpy/satpy/tests/reader_tests/test_epic_l1b_h5.py
imports: import os
  import tempfile
  import h5py
  import numpy
  import pytest
  from satpy.readers.epic_l1b_h5 import CALIB_COEFS
label_desc: Use image node_id 6 for calling the TestEPICL1bReader obj's underlying member method code with example usage: obj.test_bad_calibration(setup_hdf5_file) without return types