projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e36cf1f
)
Remove no longer used variable in streaming tests
author
Harmon
<Harmon758@gmail.com>
Sat, 26 Dec 2020 07:52:47 +0000
(
01:52
-0600)
committer
Harmon
<Harmon758@gmail.com>
Sat, 26 Dec 2020 07:52:47 +0000
(
01:52
-0600)
tests/test_streaming.py
patch
|
blob
|
blame
|
history
diff --git
a/tests/test_streaming.py
b/tests/test_streaming.py
index c2aae58c5a6588ffd844408d59854b3023b93bc3..397008a3d94646d34e8c086508dd2608790736a0 100644
(file)
--- a/
tests/test_streaming.py
+++ b/
tests/test_streaming.py
@@
-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__()