(self)
| 1868 | timeout=0.1, stdout=subprocess.PIPE) |
| 1869 | |
| 1870 | def test_run_kwargs(self): |
| 1871 | newenv = os.environ.copy() |
| 1872 | newenv["FRUIT"] = "banana" |
| 1873 | cp = self.run_python(('import sys, os;' |
| 1874 | 'sys.exit(33 if os.getenv("FRUIT")=="banana" else 31)'), |
| 1875 | env=newenv) |
| 1876 | self.assertEqual(cp.returncode, 33) |
| 1877 | |
| 1878 | def test_run_with_pathlike_path(self): |
| 1879 | # bpo-31961: test run(pathlike_object) |
nothing calls this directly
no test coverage detected