From 3654b24a445fd9a4c1d2326c0058e9c1a36219ab Mon Sep 17 00:00:00 2001 From: Roy Sommer Date: Thu, 8 Oct 2020 22:44:19 +0300 Subject: fixed tests on macos --- tests/test_taskipy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_taskipy.py') diff --git a/tests/test_taskipy.py b/tests/test_taskipy.py index 74de743..630ce26 100644 --- a/tests/test_taskipy.py +++ b/tests/test_taskipy.py @@ -253,7 +253,7 @@ class InterruptingTaskTestCase(TaskipyTestCase): processes = psutil_process_wrapper.children(recursive=True) - innermost_process = next(filter(lambda p: p.name().startswith('python'), processes)) + innermost_process = next(filter(lambda p: p.name().lower().startswith('python'), processes)) innermost_process.send_signal(signal.SIGINT) def test_handling_sigint_according_to_subprocess_if_it_handles_it_gracefully(self): -- cgit v1.2.3