From a2e1aa3a21d5d120f04d1d7aa5304dbf39363d81 Mon Sep 17 00:00:00 2001
From: Jeremy Hylton <jeremy@svn.zope.org>
Date: Tue, 6 Aug 2002 14:59:23 +0000
Subject: [PATCH] If there is no pid, there is nothing to kill.

---
 src/ZEO/tests/testStart.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/ZEO/tests/testStart.py b/src/ZEO/tests/testStart.py
index 4ca079e0..b1437061 100644
--- a/src/ZEO/tests/testStart.py
+++ b/src/ZEO/tests/testStart.py
@@ -57,6 +57,8 @@ class StartTests(unittest.TestCase):
 
     def stop_server(self):
         ppid, pid = self.getpids()
+        if ppid is None:
+            return
         self.kill(pids=[pid])
 
     def kill(self, sig=signal.SIGTERM, pids=None):
-- 
2.30.9