class_docstr: Unittests for the tracker class
class_docstr_tok: ["Unittests","for","the","tracker","class"]
docstr: Assert gets assigned to device
docstr_tok: ["Assert","gets","assigned","to","device"]
code: def test_device_assignment(self):
      """Assert gets assigned to device"""
  
      # pylint: disable=too-few-public-methods
      class TempDevice:
          short_name = "temp"
  
          def __init__(self):
              self.tracker = Tracker()
  
      temp = TempDevice()
  
      tracker = Tracker(dev=temp)
  
      assert id(temp.tracker) == id(tracker)
  
file_path: pennylane/tests/test_tracker.py
imports: import pytest
  import pennylane
  from pennylane import Tracker
label_desc: Use image node_id 2 for calling the TestTrackerCoreBehavior obj's underlying member method code with example usage: obj.test_device_assignment() without return types