Skip to content

Commit 11cebba

Browse files
authored
Merge pull request #1668 from cjwatson/py313
Fix tests on Python 3.13
2 parents 29eeb9d + 27efcd5 commit 11cebba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/tests/test_process.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def test_getProcessStateDescription(self):
3939
from supervisor.states import ProcessStates
4040
from supervisor.process import getProcessStateDescription
4141
for statename, code in ProcessStates.__dict__.items():
42-
if isinstance(code, int):
42+
if not statename.startswith("__"):
4343
self.assertEqual(getProcessStateDescription(code), statename)
4444

4545
def test_ctor(self):

0 commit comments

Comments
 (0)