Caught 'ValueError: I/O operation on closed file'.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
5 jobs for master in 46 minutes and 35 seconds (queued for 2 seconds)
Status Name Job ID Coverage
  Test
passed test_spechomo #84860

00:01:31

78.0%
passed test_spechomo_install #84863

00:43:26

failed test_styles #84861

00:00:24

passed test_urls #84862

00:01:12

 
  Deploy
skipped pages #84864
 
Name Stage Failure
failed
test_styles Test
make: *** [Makefile:58: lint] Error 1
Uploading artifacts for failed job
Uploading artifacts...
tests/linting/flake8.log: found 1 matching files and directories

WARNING: tests/linting/pycodestyle.log: no matching files
WARNING: tests/linting/pydocstyle.log: no matching files
Uploading artifacts as "archive" to coordinator... ok
id=84861 responseStatus=201 Created token=sh4L5iaB
Cleaning up file based variables
ERROR: Job failed: exit code 1