test_ok2/src
Russell Martin 14d3707818
Catch `OSError` from `getpass.getuser()` (#11875)
- Previously, `getpass.getuser()` would leak an ImportError if the
  USERNAME environment variable was not set on Windows because the `pwd`
  module cannot be imported.
- Starting in Python 3.13.0a3, it only raises `OSError`.

Fixes #11874
2024-01-28 23:07:18 -03:00
..
_pytest Catch `OSError` from `getpass.getuser()` (#11875) 2024-01-28 23:07:18 -03:00
pytest Remove `PytestRemovedIn8Warning` 2024-01-03 14:29:45 +02:00
py.py Explicitly export error and path from py 2023-11-14 07:29:40 -03:00