Quick cleanup made while working on !115 (merged): tempfile and os.unlink were used instead of letting pytest deal with temporary files itself, which sometimes caused a mess in /tmp.
tempfile
os.unlink
/tmp