code: def test_record_wrong_num_annotations(record_wrong_num_annotations):
      with pytest.raises(AutofixAbort):
          record_wrong_num_annotations.check_num_annotations()
  
file_path: icevision/tests/core/test_record.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 11 for calling a global function with example usage: test_record_wrong_num_annotations(record_wrong_num_annotations) without return types