docstr: Test that inf norm is correct and works for each interface.
docstr_tok: ["Test","that","inf","norm","is","correct","and","works","for","each","interface","."]
code: def test_inf_norm(self, arr, expected_intrf, expected_norm, kwargs):
      """Test that inf norm is correct and works for each interface."""
      computed_norm = fn.norm(arr, ord=np.inf, **kwargs)
      assert np.allclose(computed_norm, expected_norm)
      assert fn.get_interface(computed_norm) == expected_intrf
  
imports: import autoray
  import numpy
  import pytest
  import scipy
  from autoray import numpy
  from pennylane import math
  from pennylane import numpy
  from pennylane import grad
label_desc: Use image node_id 1 for calling the TestNorm obj's underlying member method code with example usage: obj.test_inf_norm(arr, expected_intrf, expected_norm, kwargs) without return types