Explorar o código

Removin unused and incorrect _assertStateChange method

This method is not used anywhere and could not work as it import code that is no longer there in:
from supervisor.events import getProcessStateChangeEventType
pombredanne %!s(int64=12) %!d(string=hai) anos
pai
achega
0f52474493
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      supervisor/tests/test_events.py

+ 0 - 5
supervisor/tests/test_events.py

@@ -474,11 +474,6 @@ class TestUtilityFunctions(unittest.TestCase):
         for name, value in events.EventTypes.__dict__.items():
             self.assertEqual(events.getEventNameByType(value), name)
 
-    def _assertStateChange(self, old, new, expected):
-        from supervisor.events import getProcessStateChangeEventType
-        klass = getProcessStateChangeEventType(old, new)
-        self.assertEqual(expected, klass)
-
 
 def test_suite():
     return unittest.findTestCases(sys.modules[__name__])