code: def test__native_dist_model_init_method_is_none(world_size):
      with pytest.raises(
          ValueError,
          match=r"Arguments rank and world_size should be None",
      ):
          _NativeDistModel.create_from_backend(
              backend="gloo", world_size=world_size
          )
  
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 27 for calling a global function with example usage: test__native_dist_model_init_method_is_none(world_size) without return types