code: def test_writelines(self):
      self.filename = mkstemp()[1]
      content = ["azerty", "qsdfgh", "12345524"]
      self.run_test(
          """
              def _writelines(filename,_content):
                  f = open(filename,'a+')
                  f.writelines(_content)
                  f.close()""",
          self.filename,
          content,
          _writelines=[str, List[str]],
      )
  
      with open(self.filename) as fd:
          self.assertEqual(fd.read(), str().join(content) * 2)
  
imports: from tempfile import mkstemp
  from pythran.tests import TestEnv
  import unittest
  from pythran.typing import List
label_desc: Use image node_id 9 for calling the TestFile obj's underlying member method code with example usage: obj.test_writelines() without return types