docstr: Test that the observable passed to qml.shadow_expval is not queued
docstr_tok: ["Test","that","the","observable","passed","to","qml.shadow_expval","is","not","queued"]
code: def test_obs_not_queued(self):
      """Test that the observable passed to qml.shadow_expval is not queued"""
      with qml.queuing.AnnotatedQueue() as q:
          qml.PauliY(0)
          qml.shadow_expval(qml.PauliZ(0))
  
      tape = qml.tape.QuantumScript.from_queue(q)
      assert len(tape.operations) == 1
      assert tape.operations[0].name == "PauliY"
      assert len(tape.measurements) == 1
      assert isinstance(tape.measurements[0], ShadowExpvalMP)
  
imports: import copy
  import autograd.numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import ClassicalShadowMP, Shots
  from pennylane.measurements.classical_shadow import ShadowExpvalMP
label_desc: Use image node_id 7 for calling the TestExpvalMeasurement obj's underlying member method code with example usage: obj.test_obs_not_queued() without return types