code: def test_unset_trace_mode(trace_mode, backend_fw):
      ivy.set_backend(backend_fw)
      ivy.set_exception_trace_mode(trace_mode)
      ivy.set_exception_trace_mode("ivy")
      ivy.utils.assertions.check_equal(
          ivy.exception_trace_mode, "ivy", as_array=False
      )
      ivy.unset_exception_trace_mode()
      ivy.utils.assertions.check_equal(
          ivy.exception_trace_mode, trace_mode, as_array=False
      )
      ivy.previous_backend()
  
file_path: ivy/ivy_tests/test_ivy/test_misc/test_exceptions.py
imports: import sys
  import os
  import contextlib
  import pytest
  import ivy
label_desc: Use image node_id 4 for calling a global function with example usage: test_unset_trace_mode(trace_mode, backend_fw) without return types