Bases: object
A lock with acquisition timeout
Create a temporary directory to be used in a test
If (optional keyword argument) ‘delete’ evaluates to True (the default value), the temporary directory and all files in it will be removed on context manager exit.