code: def test_neural_aug_backward_compatibility(config_file: str):
      opts = get_config(config_file=config_file)
  
      opts_dict = vars(opts)
      for k, v in opts_dict.items():
          if isinstance(v, str) and re.search(".*_with_na$", v):
              raise DeprecationWarning(
                  "We deprecated the usage of _with_na loss functions. "
                  "Please see examples/range_augment for examples."
              )
  
imports: import re
  import sys
  from pathlib import Path
  from tests.configs import get_config
  from tests.test_model import exclude_yaml_from_test
label_desc: Use image node_id 1 for calling a global function with example usage: test_neural_aug_backward_compatibility(config_file) without return types