class_docstr: Test the Rademacher distribution sampler.
class_docstr_tok: ["Test","the","Rademacher","distribution","sampler","."]
docstr: Test that a third argument is ignored.
docstr_tok: ["Test","that","a","third","argument","is","ignored","."]
code: def test_call_with_third_arg(self):
      """Test that a third argument is ignored."""
      rng = np.random.default_rng()
      _rademacher_sampler([0, 1, 2], 4, "ignored dummy", rng=rng)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.devices import DefaultQubitLegacy
  from pennylane.gradients import spsa_grad
  from pennylane.gradients.spsa_gradient import _rademacher_sampler
  from pennylane.operation import AnyWires, Observable
label_desc: Use image node_id 2 for calling the TestRademacherSampler obj's underlying member method code with example usage: obj.test_call_with_third_arg() without return types