Skip to content

Commit 12971a3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 715d0ca commit 12971a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/_pytest/tmpdir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ def get_user() -> Optional[str]:
161161
try:
162162
# In some exotic environments, getpass may not be importable.
163163
import getpass
164+
164165
return getpass.getuser()
165166
except (ImportError, KeyError):
166167
return None

0 commit comments

Comments
 (0)