(self)
| 1810 | self.assertEqual(c.exception.returncode, 47) |
| 1811 | |
| 1812 | def test_check_zero(self): |
| 1813 | # check_returncode shouldn't raise when returncode is zero |
| 1814 | cp = subprocess.run(ZERO_RETURN_CMD, check=True) |
| 1815 | self.assertEqual(cp.returncode, 0) |
| 1816 | |
| 1817 | def test_timeout(self): |
| 1818 | # run() function with timeout argument; we want to test that the child |
nothing calls this directly
no test coverage detected