class_docstr: Test case for CF writer.
docstr: Test that cf_writer can still be loaded with pyproj 1.9.6.
docstr_tok: ["Test","that","cf_writer","can","still","be","loaded","with","pyproj","1.9.6","."]
code: def test_load_module_with_old_pyproj(self):
      """Test that cf_writer can still be loaded with pyproj 1.9.6."""
      import importlib
      import sys
  
      import pyproj  # noqa 401
  
      old_version = sys.modules["pyproj"].__version__
      sys.modules["pyproj"].__version__ = "1.9.6"
      try:
          importlib.reload(sys.modules["satpy.writers.cf_writer"])
      finally:
          # Tear down
          sys.modules["pyproj"].__version__ = old_version
          importlib.reload(sys.modules["satpy.writers.cf_writer"])
  
imports: import os
  import tempfile
  import warnings
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from packaging.version import Version
  from satpy import Scene
  from satpy.tests.utils import make_dsq
  from satpy.writers.cf_writer import _get_backend_versions
label_desc: Use image node_id 17 for calling the TestCFWriter obj's underlying member method code with example usage: obj.test_load_module_with_old_pyproj() without return types