Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: urlencode() got an unexpected keyword argument 'quote_via' in Python 3.4 #11

Closed
dorokhin opened this issue Mar 9, 2019 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dorokhin
Copy link
Owner

dorokhin commented Mar 9, 2019

Build 3.4 | failed

======================================================================
ERROR: test_get_word_ (tests.unit.test_api.TestApi)

Traceback (most recent call last):
File "/opt/python/3.4.6/lib/python3.4/unittest/mock.py", line 1142, in patched
return func(*args, **keywargs)
File "/home/travis/build/dorokhin/pyleo/tests/unit/test_api.py", line 47, in test_get_word_
result = json.loads(self.test_instance.get_word(word).decode('utf-8'))['userdict3']['word_id']
File "/home/travis/build/dorokhin/pyleo/pyleo/api.py", line 84, in get_word_
query_string = parse.urlencode(payload, quote_via=parse.quote_plus)
TypeError: urlencode() got an unexpected keyword argument 'quote_via'

@dorokhin dorokhin added the bug Something isn't working label Mar 9, 2019
@dorokhin dorokhin self-assigned this Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant