code: def test_from_iterable(pytype, from_iter_func):
      my_iter = iter(range(10))
      s = from_iter_func(my_iter)
      assert type(s) == pytype
      assert s == pytype(range(10))
  
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 6 for calling a global function with example usage: test_from_iterable(pytype, from_iter_func) without return types