Remove deprecated statuses/public_timeline.
authorVinson Lee <vlee@twitter.com>
Tue, 17 Jul 2012 05:17:11 +0000 (22:17 -0700)
committerVinson Lee <vlee@twitter.com>
Tue, 17 Jul 2012 05:17:11 +0000 (22:17 -0700)
Signed-off-by: Vinson Lee <vlee@twitter.com>
tests.py
tweepy/api.py

index b3ca2ff7c08c5695c73f002894d590507ea7a924..0f388e2044bcd6b695e49bf277694b0229ec0c1d 100644 (file)
--- 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()
 
index 6fa3ffffb10f3c777c26b85c2b2ef5907b012055..9c87efed3b1bd47f73ab1f76439595d54c564e8d 100644 (file)
@@ -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',