def test_endswith(self): blob = TextBlob(self.text) assert_true(blob.endswith('of those!')) assert_true(blob.ends_with('of those!'))