From: Harmon Date: Sat, 26 Dec 2020 07:36:35 +0000 (-0600) Subject: Remove absolute_import and print_function imports from __future__ X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ff093659c872aa03af732827cf54b3aabc55bd60;p=tweepy.git Remove absolute_import and print_function imports from __future__ --- diff --git a/examples/oauth.py b/examples/oauth.py index b69ff3a..33960e3 100644 --- a/examples/oauth.py +++ b/examples/oauth.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import tweepy # == OAuth Authentication == diff --git a/examples/streaming.py b/examples/streaming.py index 1ecc01f..a9a3c11 100644 --- a/examples/streaming.py +++ b/examples/streaming.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - from tweepy import OAuthHandler, Stream, StreamListener # Go to http://apps.twitter.com and create an app. diff --git a/tests/test_auth.py b/tests/test_auth.py index 7ab8918..ce4bb2d 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import - import random import unittest diff --git a/tests/test_streaming.py b/tests/test_streaming.py index 50cfa95..474c3b2 100644 --- a/tests/test_streaming.py +++ b/tests/test_streaming.py @@ -1,5 +1,3 @@ -from __future__ import absolute_import, print_function - import unittest from unittest.case import skip diff --git a/tweepy/models.py b/tweepy/models.py index 01312fb..2d0239d 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -2,8 +2,6 @@ # Copyright 2009-2020 Joshua Roesslein # See LICENSE for details. -from __future__ import absolute_import - from tweepy.utils import parse_a_href, parse_datetime, parse_html_value diff --git a/tweepy/streaming.py b/tweepy/streaming.py index 865a55e..d1b1ff7 100644 --- a/tweepy/streaming.py +++ b/tweepy/streaming.py @@ -4,8 +4,6 @@ # Appengine users: https://developers.google.com/appengine/docs/python/sockets/#making_httplib_use_sockets -from __future__ import absolute_import - import json import logging import re