code: def test_environ():
      os.environ["DEBUG_OSCAR"] = "1"
      try:
          reload_debug_opts_from_env()
          assert get_debug_options() is not None
      finally:
          os.environ.pop("DEBUG_OSCAR")
          reload_debug_opts_from_env()
          assert get_debug_options() is None
  
file_path: mars/mars/oscar/backends/mars/tests/test_debug.py
imports: import asyncio
  import logging
  import os
  import sys
  from contextlib import contextmanager
  from io import StringIO
  from typing import List
  import pytest
  from .....None import oscar
  from ....debug import reload_debug_opts_from_env, get_debug_options
label_desc: Use image node_id 2 for calling a global function with example usage: test_environ() without return types