code: def test_deprecated_location_warnings():
      """Test that deprecation warnings are raised when something is imported from pennylane.interfaces."""
  
      with pytest.warns(qml.PennyLaneDeprecationWarning):
          assert qml.interfaces.execute is qml.workflow.execute
  
      with pytest.warns(qml.PennyLaneDeprecationWarning):
          assert qml.interfaces.set_shots is qml.workflow.set_shots
  
      with pytest.warns(qml.PennyLaneDeprecationWarning):
          assert (
              qml.interfaces.cache_execute is qml.workflow.cache_execute
          )
  
label_desc: Use image node_id 2 for calling a global function with example usage: test_deprecated_location_warnings() without return types