code: def pytest_itemcollected(item):
      """
      Check FPU precision mode was not changed during test collection.
  
      The clumsy way we do it here is mainly necessary because numpy
      still uses yield tests, which can execute code at test collection
      time.
      """
      global _old_fpu_mode
  
      mode = get_fpu_mode()
  
      if _old_fpu_mode is None:
          _old_fpu_mode = mode
      elif mode != _old_fpu_mode:
          _collect_results[item] = (_old_fpu_mode, mode)
          _old_fpu_mode = mode
  
file_path: catboost/contrib/python/numpy/py3/numpy/conftest.py
imports: import os
  import tempfile
  import hypothesis
  import pytest
  import numpy
  from numpy.core._multiarray_tests import get_fpu_mode
label_desc: Use image node_id 4 for calling a global function with example usage: pytest_itemcollected(item) without return types