class_docstr: Tests for auxiliary functions to help with parsing
  Python function arguments
class_docstr_tok: ["Tests","for","auxiliary","functions","to","help","with","parsing","Python","function","arguments"]
docstr: Test that default arguments are correctly extracted
docstr_tok: ["Test","that","default","arguments","are","correctly","extracted"]
code: def test_get_default_args(self):
      """Test that default arguments are correctly extracted"""
  
      def dummy_func(
          a, b, c=8, d=[0, 0.65], e=np.array([4]), f=None
      ):  # pylint: disable=unused-argument,dangerous-default-value
          pass
  
      res = pu._get_default_args(dummy_func)
      expected = {
          "c": (2, 8),
          "d": (3, [0, 0.65]),
          "e": (4, np.array([4])),
          "f": (5, None),
      }
  
      assert res == expected
  
imports: import functools
  import itertools
  import pytest
  import numpy
  import pennylane
  import pennylane.utils
label_desc: Use image node_id 2 for calling the TestArgumentHelpers obj's underlying member method code with example usage: obj.test_get_default_args() without return types