As @davidism pointed out in #3123 (comment) :
Nowadays you can also use pytest directly for this, or use with tempfile.TemporaryDirectory(). I don't think we'd add isolated_filesystem today, I think it was added before Python 3 and pytest were in common use.
Relates to: #3501
As @davidism pointed out in #3123 (comment) :
Relates to: #3501