class_docstr: Tests for the var function
docstr: Test that the numeric type is correct.
docstr_tok: ["Test","that","the","numeric","type","is","correct","."]
code: def test_numeric_type(self, obs):
      """Test that the numeric type is correct."""
      res = qml.var(obs)
      assert res.numeric_type is float
  
file_path: pennylane/tests/measurements/test_var.py
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import Variance, Shots
label_desc: Use image node_id 7 for calling the TestVar obj's underlying member method code with example usage: obj.test_numeric_type(obs) without return types