Mike Naberezny 10 роки тому
батько
коміт
681f00e74c
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      supervisor/tests/test_process.py

+ 0 - 2
supervisor/tests/test_process.py

@@ -1016,7 +1016,6 @@ class SubprocessTests(unittest.TestCase):
         pipes = {'stdout':'','stderr':''}
         instance.pipes = pipes
         instance.config.exitcodes =[-1]
-        import time
         instance.laststart = time.time()
         from supervisor.states import ProcessStates
         from supervisor import events
@@ -1365,7 +1364,6 @@ class SubprocessTests(unittest.TestCase):
         self.assertEqual(process.state, ProcessStates.STOPPING)
         self.assertEqual(options.logger.data[0],
                          "killing 'process' (1) with SIGKILL")
-        import signal
         self.assertEqual(options.kills[1], signal.SIGKILL)
         self.assertEqual(L, [])