diff options
| author | Roy Sommer <royso@wix.com> | 2020-10-08 22:44:19 +0300 |
|---|---|---|
| committer | Roy Sommer <royso@wix.com> | 2020-10-08 22:44:19 +0300 |
| commit | 3654b24a445fd9a4c1d2326c0058e9c1a36219ab (patch) | |
| tree | 9cb5d7f3d00662b02ca442d86fa324a48bba6903 /tests | |
| parent | Update README.md (diff) | |
| download | taskipy2-3654b24a445fd9a4c1d2326c0058e9c1a36219ab.zip | |
fixed tests on macos
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_taskipy.py | 2 |
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): |