class_docstr: Unittests for the tracker class
class_docstr_tok: ["Unittests","for","the","tracker","class"]
docstr: Assert exception raised when `supports_tracker` not True
docstr_tok: ["Assert","exception","raised","when","`","supports_tracker","`","not","True"]
code: def test_incompatible_device_assignment_no_tracker(self):
      """Assert exception raised when `supports_tracker` not True"""
  
      # pylint: disable=too-few-public-methods
      class TempDevice:
          short_name = "temp"
  
          def capabilities(self):
              return dict()
  
      temp = TempDevice()
  
      with pytest.raises(
          Exception,
          match=r"Device 'temp' does not support device tracking",
      ):
          Tracker(dev=temp)
  
file_path: pennylane/tests/test_tracker.py
imports: import pytest
  import pennylane
  from pennylane import Tracker
label_desc: Use image node_id 3 for calling the TestTrackerCoreBehavior obj's underlying member method code with example usage: obj.test_incompatible_device_assignment_no_tracker() and returns: dict