code: def test_next_generator(self):
      self.run_test(
          "def next_generator(n): x = (i for i in range(n) for j in range(i)) ; next(x) ; return list(map(str, x))",
          5,
          next_generator=[int],
      )
  
imports: from pythran.tests import TestEnv
  import unittest
  import numpy
  from pythran.typing import List, NDArray
label_desc: Use image node_id 23 for calling the TestItertools obj's underlying member method code with example usage: obj.test_next_generator() without return types