Skip to content

Commit

Permalink
fix deprecation warning and lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
DanCech committed Oct 26, 2017
1 parent c96c2f8 commit 0540cfc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,10 +700,10 @@ def test_update_many_excess(self):

# then only the most recent input points (those at the end) were written
actual_time_info = whisper.fetch(wsp, 0, now=test_now)[0]
self.assertEquals(actual_time_info,
(input_points[-archive_len][0],
input_points[-1][0] + archive_step, # untilInterval = newest + step
archive_step))
self.assertEqual(actual_time_info,
(input_points[-archive_len][0],
input_points[-1][0] + archive_step, # untilInterval = newest + step
archive_step))

def test_debug(self):
"""
Expand Down

0 comments on commit 0540cfc

Please sign in to comment.