def matching_platform(self):
        try:
            py.process.cmdexec("lsof -v")
        except (py.process.cmdexec.Error, __HOLE__):
            # cmdexec may raise UnicodeDecodeError on Windows systems
            # with locale other than english:
            # https://bitbucket.org/pytest-dev/py/issues/66
            return False
        else:
            return True
dataset/ETHPy150Open pytest-dev/pytest/_pytest/pytester.py/LsofFdLeakChecker.matching_platform