Fixes assert type of window length check.

This commit is contained in:
Eddie Hebert
2013-01-31 21:16:41 -05:00
parent 3dd1b36d38
commit 2859afa032
+1 -1
View File
@@ -104,7 +104,7 @@ class TestEventWindow(TestCase):
window.update(message)
# Assert that we've added the correct number of events.
self.assertTrue(len(window.added), num)
self.assertEquals(len(window.added), num)
# Assert that we removed only events that fall outside (or
# on the boundary of) the delta.