Skip to content

Commit

Permalink
remove usage of deprecated assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Tobin committed Apr 1, 2024
1 parent 71163fb commit 8f8c091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_xkcdpass.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_random_delimiter(self):
wordlist, numwords=numwords, random_delimiters=True
)
# check that the result is the right length
self.assertEquals(len(result), numwords * wordlength + (numwords - 1))
self.assertEqual(len(result), numwords * wordlength + (numwords - 1))
# check we have the right number of delimiters
self.assertEqual(
len([x for x in result if x in set(xkcd_password.DEFAULT_DELIMITERS)]),
Expand Down

0 comments on commit 8f8c091

Please sign in to comment.