From a0b3d7bdda0bbb17a2567a22415200ffb7aad4d7 Mon Sep 17 00:00:00 2001 From: Joshua Roesslein Date: Wed, 7 Nov 2012 20:18:33 -0800 Subject: [PATCH] Remove deprecated trends_current(). Also adding IRC notifications for CI build failures. --- .travis.yml | 6 ++++++ tests.py | 1 - tweepy/api.py | 7 ------- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 73ad3e1..8aa965b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,10 @@ env: CONSUMER_SECRET="SpKzSXf16fEQ3AZtiRy8PkGOOgTSmL3Cdmh7o0D8" ACCESS_KEY="82301637-v1wF1jWd7oa2ZFsIDUNlPKSpTdJ6f8dIMz1Zwmy58" ACCESS_SECRET="21oUZmKWYuv7PZTcj13UFpPlmh7HD6glR8yayrOgg8" +notifications: + irc: + channels: + - "irc.freenode.net#tweepy" + on_success: change + on_failure: always diff --git a/tests.py b/tests.py index 9326806..bc7bad9 100644 --- a/tests.py +++ b/tests.py @@ -272,7 +272,6 @@ class TweepyAPITests(unittest.TestCase): self.api.search('tweepy') def testtrends(self): - self.api.trends_current() self.api.trends_daily() self.api.trends_weekly() diff --git a/tweepy/api.py b/tweepy/api.py index 8acd57f..7affc61 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -677,13 +677,6 @@ class API(object): ) search.pagination_mode = 'page' - """ trends/current """ - trends_current = bind_api( - path = '/trends/current.json', - payload_type = 'json', - allowed_param = ['exclude'] - ) - """ trends/daily """ trends_daily = bind_api( path = '/trends/daily.json', -- 2.25.1