From 9520bf5a97c524036fd6d1d82b8f0e59bb491ba5 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 16 Jul 2012 22:17:11 -0700 Subject: [PATCH] Remove deprecated statuses/public_timeline. Signed-off-by: Vinson Lee --- tests.py | 3 --- tweepy/api.py | 7 ------- 2 files changed, 10 deletions(-) diff --git a/tests.py b/tests.py index b3ca2ff..0f388e2 100644 --- a/tests.py +++ b/tests.py @@ -26,9 +26,6 @@ class TweepyAPITests(unittest.TestCase): self.api.retry_count = 2 self.api.retry_delay = 5 - def testpublictimeline(self): - self.api.public_timeline() - def testhometimeline(self): self.api.home_timeline() diff --git a/tweepy/api.py b/tweepy/api.py index 6fa3fff..9c87efe 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -31,13 +31,6 @@ class API(object): self.retry_errors = retry_errors self.parser = parser or ModelParser() - """ statuses/public_timeline """ - public_timeline = bind_api( - path = '/statuses/public_timeline.json', - payload_type = 'status', payload_list = True, - allowed_param = [] - ) - """ statuses/home_timeline """ home_timeline = bind_api( path = '/statuses/home_timeline.json', -- 2.25.1