code: def suppress_nevergrad_warnings() -> tp.Iterator[None]:
      with warnings.catch_warnings():
          # tests do not need to be efficient
          warnings.simplefilter(
              "ignore", category=errors.NevergradWarning
          )
          yield
  
imports: import re
  import os
  import warnings
  import platform
  import unittest
  import inspect
  import contextlib
  from pathlib import Path
  import typing
  import numpy
  from .None import errors
label_desc: Use image node_id 1 for calling a global function with example usage: suppress_nevergrad_warnings() without return types