From 01f3d887888ae72fa4cb2e7bdf6e3d638a20c966 Mon Sep 17 00:00:00 2001 From: Jacob Bom Date: Sun, 18 Jun 2017 16:25:48 +0200 Subject: [PATCH] Update filter test --- tests/test_filters.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/test_filters.py b/tests/test_filters.py index e8c4c6637..d19396be9 100644 --- a/tests/test_filters.py +++ b/tests/test_filters.py @@ -254,12 +254,10 @@ class FiltersTest(BaseTest, unittest.TestCase): self.assertTrue((Filters.text & (Filters.forwarded | Filters.entity(MessageEntity.MENTION)) )(self.message)) - self.assertRegexpMatches( + self.assertEqual( str((Filters.text & (Filters.forwarded | Filters.entity(MessageEntity.MENTION)))), - r" and or " - r">>") + '>' + ) def test_inverted_filters(self): self.message.text = '/test'