Commit 7ae8019c authored by Taylor Jung's avatar Taylor Jung Committed by GitHub

Fix Python3.7 compatibility issue

passing "async" argument can make invalid argument error on python 3.7
parent dc688960
......@@ -105,7 +105,7 @@ class TweepyStreamTests(unittest.TestCase):
def test_track_encoding(self):
s = Stream(None, None)
s._start = lambda async: None
s._start = lambda is_async: None
s.filter(track=[u'Caf\xe9'])
# Should be UTF-8 encoded
......@@ -113,7 +113,7 @@ class TweepyStreamTests(unittest.TestCase):
def test_follow_encoding(self):
s = Stream(None, None)
s._start = lambda async: None
s._start = lambda is_async: None
s.filter(follow=[u'Caf\xe9'])
# Should be UTF-8 encoded
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment