docstr: Tests the label method for formatting in drawings
docstr_tok: ["Tests","the","label","method","for","formatting","in","drawings"]
code: def test_label_method(self, op, label1, label2):
      """Tests the label method for formatting in drawings"""
      assert op.label() == label1
      assert op.label(decimals=2) == label2
  
imports: import pytest
  import numpy.testing
  from pennylane import numpy
  from pennylane.operation import AnyWires
  from pennylane.ops import cv
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestLabel obj's underlying member method code with example usage: obj.test_label_method(op, label1, label2) without return types