Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
m
/
member
/
member_checks_inference_improvements.py
blob: 6eefa795827fb71684e21963346c7dc1df90d25c [
file
] [
log
] [
blame
]
# pylint: disable=missing-docstring
def
test_oserror_has_strerror
():
# https://github.com/PyCQA/pylint/issues/2553
try
:
raise
OSError
()
except
OSError
as
exc
:
if
exc
.
strerror
is
not
None
:
return
exc
.
strerror
.
lower
()
return
None