From 2859afa032febbff904c067111973f4585741226 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Thu, 31 Jan 2013 21:16:41 -0500 Subject: [PATCH] Fixes assert type of window length check. --- tests/test_transforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_transforms.py b/tests/test_transforms.py index ec731667..0380dadb 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -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.