Skip to content
  • Guilhem Saurel's avatar
    python unittest: use context to open files · f04a7f2d
    Guilhem Saurel authored
    fix:
    …/pinocchio/unittest/python/bindings_urdf.py:23: ResourceWarning: unclosed file <_io.TextIOWrapper name='…/pinocchio/models/others/robots/romeo_description/urdf/romeo.urdf' mode='r' encoding='UTF-8'>
      file_content = open(self.model_path,"r").read()
    f04a7f2d