code: def test_assert_set_equal(
      estimate: tp.Iterable[int], message: str
  ) -> None:
      reference = {1, 2, 3}
      try:
          testing.assert_set_equal(estimate, reference)
      except AssertionError as error:
          if not message:
              raise AssertionError(
                  "An error has been raised while it should not."
              ) from error
          np.testing.assert_equal(
              error.args[0].split("\n")[1:], message
          )
      else:
          if message:
              raise AssertionError("An error should have been raised.")
  
file_path: nevergrad/nevergrad/common/test_testing.py
imports: import sys
  import unittest
  import platform
  import subprocess
  import typing
  from pathlib import Path
  import pytest
  import numpy
  from .None import testing
label_desc: Use image node_id 1 for calling a global function with example usage: test_assert_set_equal(estimate, message) without return types