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