`_collectfile` should be called on files only. Fixes https://github.com/pytest-dev/pytest/issues/4592.
does_not_raise