Skip to content

Commit

Permalink
Correct attribute error in test-fairlock
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Syms <[email protected]>
  • Loading branch information
MarkSymsCtx committed Nov 11, 2024
1 parent ce5b554 commit 46fadb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fairlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_double_lock_deadlock(self):
with self.assertRaises(FairlockDeadlock) as err:
with Fairlock("test") as l:
n = Fairlock("test")
self.assertEquals(l, n)
self.assertEqual(l, n)
# Real code would use another 'with Fairlock("test")' here but we cannot
# do that because it insists on having a code block as a body, which would
# then not be reached, causing a "Test code not fully covered" failure
Expand Down

0 comments on commit 46fadb8

Please sign in to comment.