diff --git a/tests/test_instrumentation/test_memory.py b/tests/test_instrumentation/test_memory.py index e5d0e5029444185aa164e26f8ae35f06d6a21a58..c7fcc8d0b7b4ff826964d699cc0b273e1444e855 100644 --- a/tests/test_instrumentation/test_memory.py +++ b/tests/test_instrumentation/test_memory.py @@ -25,7 +25,7 @@ class TestMemory(unittest.TestCase): @unittest.skipIf(sys.platform == 'win32', 'testable only on unices') def test_install_dump_on(self): install_dump_frames_on(signal.SIGUSR1) - os.kill(0, 10) + os.kill(os.getpid(), signal.SIGUSR1) def test_dump_memory(self): dump_memory_on()