code: def test_itertools_repeat1(self):
      code = """
          def itertools_repeat1(n):
              import itertools
              s = []
              i = 0
              for l in itertools.repeat([n]):
                  s.append(l)
                  i += 1
                  if i < n:
                      break
              return s"""
      self.run_test(code, 3, itertools_repeat1=[int])
  
imports: from pythran.tests import TestEnv
  import unittest
  import numpy
  from pythran.typing import List, NDArray
label_desc: Use image node_id 46 for calling the TestItertools obj's underlying member method code with example usage: obj.test_itertools_repeat1() without return types