Remove no longer used variable in streaming tests
authorHarmon <Harmon758@gmail.com>
Sat, 26 Dec 2020 07:52:47 +0000 (01:52 -0600)
committerHarmon <Harmon758@gmail.com>
Sat, 26 Dec 2020 07:52:47 +0000 (01:52 -0600)
tests/test_streaming.py

index c2aae58c5a6588ffd844408d59854b3023b93bc3..397008a3d94646d34e8c086508dd2608790736a0 100644 (file)
@@ -12,12 +12,6 @@ from tweepy.models import Status
 from tweepy.streaming import ReadBuffer, Stream, StreamListener
 
 
-if six.PY3:
-    getresponse_location = 'http.client.HTTPConnection.getresponse'
-else:
-    getresponse_location = 'httplib.HTTPConnection.getresponse'
-
-
 class MockStreamListener(StreamListener):
     def __init__(self, test_case):
         super(MockStreamListener, self).__init__()