class_docstr: Tests for purity measurements
class_docstr_tok: ["Tests","for","purity","measurements"]
docstr: Test that the numeric type of PurityMP is float.
docstr_tok: ["Test","that","the","numeric","type","of","PurityMP","is","float","."]
code: def test_numeric_type(self):
      """Test that the numeric type of PurityMP is float."""
      m = PurityMP(wires=qml.wires.Wires(0))
      assert m.numeric_type is float
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane.measurements import PurityMP, Shots
label_desc: Use image node_id 2 for calling the TestPurityUnitTest obj's underlying member method code with example usage: obj.test_numeric_type() without return types