diff --git a/supervisor/tests/test_process.py b/supervisor/tests/test_process.py index d9370e24c..24643b4dc 100644 --- a/supervisor/tests/test_process.py +++ b/supervisor/tests/test_process.py @@ -39,7 +39,7 @@ def test_getProcessStateDescription(self): from supervisor.states import ProcessStates from supervisor.process import getProcessStateDescription for statename, code in ProcessStates.__dict__.items(): - if isinstance(code, int): + if not statename.startswith("__"): self.assertEqual(getProcessStateDescription(code), statename) def test_ctor(self):