code: def proj_network_env():
      """
      Ensure global context network settings reset
      """
      try:
          yield
      finally:
          pyproj.network.set_network_enabled(_NETWORK_ENABLED)
  
file_path: pyproj/test/conftest.py
imports: import os
  import pickle
  from contextlib import contextmanager
  from pathlib import Path
  import numpy
  import pytest
  from packaging import version
  import pyproj
  from pyproj.datadir import get_data_dir, get_user_data_dir, set_data_dir
label_desc: Use image node_id 2 for calling a global function with example usage: proj_network_env() without return types