code: def test_reset_seed_no_op():
      """Test that the reset_seed function is a no-op when seed_everything() was not used."""
      assert "PL_GLOBAL_SEED" not in os.environ
      seed_before = torch.initial_seed()
      lightning.fabric.utilities.seed.reset_seed()
      assert torch.initial_seed() == seed_before
      assert "PL_GLOBAL_SEED" not in os.environ
  
file_path: pytorch-lightning/tests/tests_fabric/utilities/test_seed.py
imports: import os
  from unittest import mock
  from unittest.mock import Mock
  import lightning.fabric.utilities
  import pytest
  import torch
  from lightning.fabric.utilities.seed import _collect_rng_states, _set_rng_states
label_desc: Use image node_id 6 for calling a global function with example usage: test_reset_seed_no_op() without return types