Skip to content

Commit

Permalink
Resolve a deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
leandron committed Apr 28, 2017
1 parent 4fda72d commit 22714fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ def test_wait_for_header_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_header,
'Initial should be wait_for_header. '
'expecting %s but is %s' %
(ParsingState.wait_for_header, sut._state))
self.assertEqual(sut._state, ParsingState.wait_for_header,
'Initial should be wait_for_header. '
'expecting %s but is %s' %
(ParsingState.wait_for_header, sut._state))

def test_wait_for_section_state(self):
lines = (
Expand Down

0 comments on commit 22714fe

Please sign in to comment.