diff --git a/changelog/9871.bugfix.rst b/changelog/9871.bugfix.rst index 0986414f2..ed787b3da 100644 --- a/changelog/9871.bugfix.rst +++ b/changelog/9871.bugfix.rst @@ -1 +1,2 @@ -Handle ``ImportError`` for ``getpass`` import in ``_pytest.tempdir.get_user`` +Fix a bizarre (and fortunately rare) bug where the `temp_path` fixture could raise +an internal error while attempting to get the current user's username.