On lundi 16 avril 2018 19:33:33 CEST Ben Elliston wrote:
> Hi Even
>
> What do you think about adding some convenience functions to the
> gdaltest module like "try_remove" and "try_unlink" that never throw an
> exception if the file doesn't exist? This would remove a lot of lines
> like these fro
Hi Even
What do you think about adding some convenience functions to the
gdaltest module like "try_remove" and "try_unlink" that never throw an
exception if the file doesn't exist? This would remove a lot of lines
like these from the test cases:
try:
os.unlink('some file')
except OSError:
pa