Skip to content

Commit

Permalink
Merge pull request #143 from tirkarthi/fix-assert
Browse files Browse the repository at this point in the history
Use assertEqual instead of assertEquals for Python 3.11 compatibility.
  • Loading branch information
itamarst committed Oct 26, 2021
2 parents d03b0ea + 006705d commit deea55f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crochet/tests/test_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,11 +258,11 @@ def test_posix(self):
reapAllProcesses=lambda: reaps.append(1))
s.setup()
reactor.advance(0.1)
self.assertEquals(reaps, [1])
self.assertEqual(reaps, [1])
reactor.advance(0.1)
self.assertEquals(reaps, [1, 1])
self.assertEqual(reaps, [1, 1])
reactor.advance(0.1)
self.assertEquals(reaps, [1, 1, 1])
self.assertEqual(reaps, [1, 1, 1])

def test_non_posix(self):
"""
Expand Down

0 comments on commit deea55f

Please sign in to comment.