Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Don't use deprecated 'assertEquals'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Lavine committed Jul 14, 2017
1 parent 1695cee commit 4aa80f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_utilities.py
Expand Up @@ -33,7 +33,7 @@ def test_too_large_port(self):
utilities.validate_port(65536)

def test_valid_string_port(self):
self.assertEquals(utilities.validate_port("123"), 123)
self.assertEqual(utilities.validate_port("123"), 123)

def test_valid_int_port(self):
self.assertEquals(utilities.validate_port(123), 123)
self.assertEqual(utilities.validate_port(123), 123)

0 comments on commit 4aa80f9

Please sign in to comment.