-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cannot use upstr with CIMultiDict #244
Labels
Comments
Did you added a new test to the suite? It's unlikely that we have the different behavior on Linux and MacOSX. I suspect I've missed some edge case in multidict implementation. |
added "multidict-error" branch |
Closed
Got it, working on fix |
Fixed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/unittest/mock.py", line 1136, in patched
return func(_args, *_keywargs)
File "/Users/nikolay/dev/account-api/venv/src/aiohttp/tests/test_web_response.py", line 176, in test_compression
headers=CIMultiDict({hdrs.ACCEPT_ENCODING: 'gzip, deflate'}))
File "aiohttp/_multidict.pyx", line 200, in aiohttp._multidict.MultiDict.init (aiohttp/_multidict.c:5126)
self._extend(args, kwargs, self.class.name, 1)
File "aiohttp/_multidict.pyx", line 213, in aiohttp._multidict.MultiDict._extend (aiohttp/_multidict.c:5399)
key, value = item
nose.proxy.TypeError: Expected str, got upstr
The text was updated successfully, but these errors were encountered: