Skip to content

Commit

Permalink
Merge pull request #1668 from cjwatson/py313
Browse files Browse the repository at this point in the history
Fix tests on Python 3.13
  • Loading branch information
mnaberez authored Jan 8, 2025
2 parents 29eeb9d + 27efcd5 commit 11cebba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supervisor/tests/test_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 11cebba

Please sign in to comment.