We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29eeb9d + 27efcd5 commit 11cebbaCopy full SHA for 11cebba
supervisor/tests/test_process.py
@@ -39,7 +39,7 @@ def test_getProcessStateDescription(self):
39
from supervisor.states import ProcessStates
40
from supervisor.process import getProcessStateDescription
41
for statename, code in ProcessStates.__dict__.items():
42
- if isinstance(code, int):
+ if not statename.startswith("__"):
43
self.assertEqual(getProcessStateDescription(code), statename)
44
45
def test_ctor(self):
0 commit comments