Add integration test for Unicode filenames.#3215
Add integration test for Unicode filenames.#3215lukesneeringer merged 3 commits intogoogleapis:masterfrom
Conversation
This is a port of googleapis/google-cloud-dotnet#933. This also exposes the fact that Python 2 cannot handle some Unicode in URLs at all, because urllib.quote raises KeyError (wha....?) if you use Unicode. That is an issue with the Python standard library, however.
|
|
||
|
|
||
| class TestUnicode(unittest.TestCase): | ||
| @unittest.skipIf(six.PY2, 'Unicode URLs only work on Python 3.') |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
LGTM @lukesneeringer What is your feeling on usage of |
|
I would prefer use |
|
👍 That is @jonparrott's take as well (so I suppose I should warm to that approach). I wasn't aware that |
This is a port of googleapis/google-cloud-dotnet#933.
This also exposes the fact that Python 2 cannot handle some Unicode in URLs at all, because
urllib.quoteraisesKeyError(wha....?) if you use Unicode. That is an issue with the Python standard library, however.