docstr: Tests that np.random.default_rng() returns a generator object when
  no input is passed.
docstr_tok: ["Tests","that","np.random.default_rng","(",")","returns","a","generator","object","when","no","input","is","passed","."]
code: def test_no_input(self):
      """Tests that np.random.default_rng() returns a generator object when
      no input is passed."""
      rng = random.default_rng()
  
      assert isinstance(rng, random.Generator)
  
      output = rng.random((3,))
      assert isinstance(output, np.tensor)
  
file_path: pennylane/tests/numpy/test_numpy_random.py
imports: import pytest
  from pennylane import numpy
  from pennylane.numpy import random
label_desc: Use image node_id 1 for calling the Test_default_rng obj's underlying member method code with example usage: obj.test_no_input() without return types