not quite -- you could create a temporary directory with it (pass dir=True) which would then get removed at the end with all of its content

PS seems to me I haven't used that feature though although coded for it... neither see tests for this testing decorator... will cook quickly