(*args, **kwargs)
| 301 | def test_cursor_requires_twython_function(self): |
| 302 | """Test that cursor() raises when called without a Twython function""" |
| 303 | def init_and_iterate_cursor(*args, **kwargs): |
| 304 | cursor = self.api.cursor(*args, **kwargs) |
| 305 | return next(cursor) |
| 306 | |
| 307 | non_function = object() |
| 308 | non_twython_function = lambda x: x |