aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_taskipy.py
diff options
context:
space:
mode:
authorRoy Sommer <royso@wix.com>2020-10-08 22:44:19 +0300
committerRoy Sommer <royso@wix.com>2020-10-08 22:44:19 +0300
commit3654b24a445fd9a4c1d2326c0058e9c1a36219ab (patch)
tree9cb5d7f3d00662b02ca442d86fa324a48bba6903 /tests/test_taskipy.py
parentUpdate README.md (diff)
downloadtaskipy2-3654b24a445fd9a4c1d2326c0058e9c1a36219ab.zip
fixed tests on macos
Diffstat (limited to 'tests/test_taskipy.py')
-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):