PermissionError
when Hypothesis database dir path is not accessible
#3764
Labels
bug
something is clearly wrong here
After this change, checking for whether the given location is usable may lead to
PermissionError
, if the location has e.g.0o222
permissions. Previously,os.path.exists
did not raise an exception there. Found out about it downstream in Schemathesis - I guess that the expected behavior for the cases when the directory is not accessible is to work with an in-memory database, but it does not happen due toPermissionError
The text was updated successfully, but these errors were encountered: