def test_invalid_cmd(self):
        with phlsys_fs.nostd() as stderr:
            self.assertRaises(OSError, phlsys_subprocess.run, "invalidcmd")
            self.assertTrue("OSError" in stderr.out)
Passing invalid command - catch OSError
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlsys_subprocess__t.py/PhlsysSubprocessTests.test_invalid_cmd