code: def test_nonref_iterators():
      pairs = m.IntPairs([(1, 2), (3, 4), (0, 5)])
      assert list(pairs.nonref()) == [(1, 2), (3, 4), (0, 5)]
      assert list(pairs.nonref_keys()) == [1, 3, 0]
      assert list(pairs.nonref_values()) == [2, 4, 5]
  
file_path: coremltools/deps/pybind11/tests/test_sequences_and_iterators.py
imports: import pytest
  from pytest import approx
  from pybind11_tests import ConstructorStats
  from pybind11_tests import sequences_and_iterators
label_desc: Use image node_id 4 for calling a global function with example usage: test_nonref_iterators() without return types