code: def test_issue185_time_breaks(pytester: Pytester) -> None:
      pytester.makepyfile(
          """
          import time
          def test_m(monkeypatch):
              def f():
                  raise Exception
              monkeypatch.setattr(time, "time", f)
      """
      )
      result = pytester.runpytest()
      result.stdout.fnmatch_lines(
          """
          *1 passed*
      """
      )
  
imports: import os
  import re
  import sys
  import textwrap
  from pathlib import Path
  from typing import Dict
  from typing import Generator
  from typing import Type
  import pytest
  from _pytest.monkeypatch import MonkeyPatch
  from _pytest.pytester import Pytester
label_desc: Use image node_id 18 for calling a global function with example usage: test_issue185_time_breaks(pytester) without return types