code: def test_multiprocessing_cpu_count_not_implemented():
      """Verify that jobs is 0 if cpu_count is unavailable."""
      style_guide = style_guide_mock()
      style_guide.options.jobs = JobsArgument("auto")
  
      with mock.patch.object(
          multiprocessing,
          "cpu_count",
          side_effect=NotImplementedError,
      ):
          manager = checker.Manager(
              style_guide, finder.Checkers([], [], []), []
          )
      assert manager.jobs == 0
  
file_path: flake8/tests/unit/test_checker_manager.py
imports: from __future__ import annotations
  import errno
  import multiprocessing
  from unittest import mock
  import pytest
  from flake8 import checker
  from flake8.main.options import JobsArgument
  from flake8.plugins import finder
label_desc: Use image node_id 5 for calling a global function with example usage: test_multiprocessing_cpu_count_not_implemented() without return types