code: def test__native_dist_model_create_from_backend_bad_config():
      import os
      from datetime import timedelta
  
      os.environ["RANK"] = "1"
  
      with pytest.raises(
          RuntimeError,
          match=r"PyTorch distributed configuration should define env variables",
      ):
          _NativeDistModel.create_from_backend(
              backend="gloo", timeout=timedelta(seconds=10)
          )
  
      del os.environ["RANK"]
  
imports: import os
  import pytest
  import torch
  import torch.distributed
  from ignite.distributed.comp_models import has_native_dist_support
label_desc: Use image node_id 5 for calling a global function with example usage: test__native_dist_model_create_from_backend_bad_config() without return types