code: def test_numpy_qr(
      dtype_and_x,
      mode,
      frontend,
      test_flags,
      fn_tree,
      backend_fw,
      on_device,
  ):
      dtype, x = dtype_and_x
      helpers.test_frontend_function(
          input_dtypes=dtype,
          backend_to_test=backend_fw,
          frontend=frontend,
          test_flags=test_flags,
          fn_tree=fn_tree,
          on_device=on_device,
          rtol=1e-01,
          a=x,
          mode=mode,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_linalg/test_decompositions.py
imports: import sys
  import numpy
  from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test, BackendHandler
  from ivy_tests.test_ivy.test_functional.test_core.test_linalg import _get_dtype_and_matrix
label_desc: Use image node_id 2 for calling a global function with example usage: test_numpy_qr(dtype_and_x, mode, frontend, test_flags, fn_tree, backend_fw, on_device) without return types