def test_invalid_return_code(self):
        cmd = "time"
        self.assertRaises(
            phlsys_subprocess.CalledProcessError,
            phlsys_subprocess.run,
            cmd)
Passing command returns non zero exit status.
dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlsys_subprocess__t.py/PhlsysSubprocessTests.test_invalid_return_code