From f1aee05167b61795a4ea066c75867436ff28cee3 Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Tue, 6 Oct 2020 11:45:28 -0700 Subject: [PATCH] tests: Remove test_del_execReadlines Doesn't test anything useful, and leaves the process running. --- tests/pylorax/test_executils.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/pylorax/test_executils.py b/tests/pylorax/test_executils.py index f9d1866f..5449cb68 100644 --- a/tests/pylorax/test_executils.py +++ b/tests/pylorax/test_executils.py @@ -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)