tests: Remove test_del_execReadlines

Doesn't test anything useful, and leaves the process running.
This commit is contained in:
Brian C. Lane 2020-10-06 11:45:28 -07:00 committed by Brian C. Lane
parent 9d6211f1b3
commit f1aee05167
1 changed files with 0 additions and 5 deletions

View File

@ -97,11 +97,6 @@ class ExecUtilsTest(unittest.TestCase):
with self.assertRaises(OSError):
execReadlines("foo-prog", [])
def test_del_execReadlines(self):
cmd = ["python3", "-c", "import sys; print('Truffula trees.'); sys.exit(0)"]
iterator = execReadlines(cmd[0], cmd[1:], callback=lambda p: True)
del iterator
def test_runcmd(self):
cmd = ["python3", "-c", "import sys; print('Theodor Seuss Geisel'); sys.exit(0)"]
rc = runcmd(cmd)