Skip to content

Commit

Permalink
Resolve another deprecation warning (assertEquals)
Browse files Browse the repository at this point in the history
  • Loading branch information
leandron committed Apr 28, 2017
1 parent 22714fe commit bbc0295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def test_wait_for_section_state(self):
sut.parse()
except SteinlibParsingException as ex:
# check state even when the parser throws an (expected) exception
self.assertEquals(sut._state, ParsingState.wait_for_section,
self.assertEqual(sut._state, ParsingState.wait_for_section,
'Initial should be wait_for_section. '
'expecting %s but is %s' %
(ParsingState.wait_for_section, sut._state))
Expand Down

0 comments on commit bbc0295

Please sign in to comment.