aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_taskipy.py2
1 files changed, 1 insertions, 1 deletions
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):