test_keywords here:
cpython/Lib/test/test_popen.py
Lines 65 to 68 in 7fd6160
does not assert anything. I propose to use an example similar to this one:
Lines 57 to 59 in 7fd6160
and at least assert that the expected program executed and that f is still not closed in with body.
I have a PR ready.
pythongh-131234: Improve `test_popen` with more asserts
gh-131234: Improve `test_popen` with more asserts (#131235)
pythongh-131234: Improve `test_popen` with more asserts (pythonGH-131235
[3.12] gh-131234: Improve `test_popen` with more asserts (GH-131235) (#…
[3.13] gh-131234: Improve `test_popen` with more asserts (GH-131235) (#…
[3.12] pythongh-131234: Improve `test_popen` with more asserts (pytho…
pythongh-131234: Improve `test_popen` with more asserts (python#131235)
Activity
pythongh-131234: Improve `test_popen` with more asserts
gh-131234: Improve `test_popen` with more asserts (#131235)
pythongh-131234: Improve `test_popen` with more asserts (pythonGH-131235
pythongh-131234: Improve `test_popen` with more asserts (pythonGH-131235
[3.12] gh-131234: Improve `test_popen` with more asserts (GH-131235) (#…
[3.13] gh-131234: Improve `test_popen` with more asserts (GH-131235) (#…
[3.12] pythongh-131234: Improve `test_popen` with more asserts (pytho…
pythongh-131234: Improve `test_popen` with more asserts (python#131235)