class_docstr: Test the remote reading class.
class_docstr_tok: ["Test","the","remote","reading","class","."]
docstr: Test that the NetCDF4 backend is used by default.
docstr_tok: ["Test","that","the","NetCDF4","backend","is","used","by","default","."]
code: def test_default_to_netcdf4_lib(self):
      """Test that the NetCDF4 backend is used by default."""
      import os
      import tempfile
  
      import h5py
  
      from satpy.readers.netcdf_utils import NetCDF4FsspecFileHandler
  
      with tempfile.TemporaryDirectory() as tmpdir:
          # Create an empty HDF5
          fname = os.path.join(tmpdir, "test.nc")
          fid = h5py.File(fname, "w")
          fid.close()
  
          fh = NetCDF4FsspecFileHandler(fname, {}, {})
          assert fh._use_h5netcdf is False
  
imports: import os
  import unittest
  import numpy
  import pytest
label_desc: Use image node_id 1 for calling the TestNetCDF4FsspecFileHandler obj's underlying member method code with example usage: obj.test_default_to_netcdf4_lib() without return types