Commit 5ddaf8b6 authored by Jim Fulton's avatar Jim Fulton

Python 2.7 has os.kill but not signal.SIGKILL.

parent f3d7c254
......@@ -484,7 +484,7 @@ class HeartbeatTests(ZEO.tests.ConnectionTests.CommonSetupTearDown):
)
self._dostore()
if hasattr(os, 'kill'):
if hasattr(os, 'kill') and hasattr(signal, 'SIGKILL'):
# Kill server violently, in hopes of provoking problem
os.kill(self._pids[0], signal.SIGKILL)
self._servers[0] = None
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment