(self)
| 1796 | return subprocess.run(argv, **kwargs) |
| 1797 | |
| 1798 | def test_returncode(self): |
| 1799 | # call() function with sequence argument |
| 1800 | cp = self.run_python("import sys; sys.exit(47)") |
| 1801 | self.assertEqual(cp.returncode, 47) |
| 1802 | with self.assertRaises(subprocess.CalledProcessError): |
| 1803 | cp.check_returncode() |
| 1804 | |
| 1805 | def test_check(self): |
| 1806 | with self.assertRaises(subprocess.CalledProcessError) as c: |
nothing calls this directly
no test coverage detected