code: def test_non_converting_constructors():
      non_converting_test_cases = [
          ("bytes", range(10)),
          ("none", 42),
          ("ellipsis", 42),
          ("type", 42),
      ]
      for t, v in non_converting_test_cases:
          for move in [True, False]:
              with pytest.raises(TypeError) as excinfo:
                  m.nonconverting_constructor(t, v, move)
              expected_error = f"Object of type '{type(v).__name__}' is not an instance of '{t}'"
              assert str(excinfo.value) == expected_error
  
imports: import contextlib
  import sys
  import types
  import pytest
  import env
  from pybind11_tests import detailed_error_messages_enabled
  from pybind11_tests import pytypes
label_desc: Use image node_id 25 for calling a global function with example usage: test_non_converting_constructors() without return types