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

Fix nonascii_srcdir to work when non-ascii directories aren't supported #8512

Merged
merged 1 commit into from
Dec 19, 2020

Conversation

jbms
Copy link
Contributor

@jbms jbms commented Nov 30, 2020

Previously, the nonascii_srcdir in tests/test_build.py contained some
logic to attempt to handle the case where non-ascii directories aren't
supported, but it did not actually work because it fails to copy the
test sources to the temporary directory.

With this commit, the following test invocation, which previously
failed, now pases:

LANG=en_US.iso8859-1 python -m pytest test_build.py

Previously, the nonascii_srcdir in tests/test_build.py contained some
logic to attempt to handle the case where non-ascii directories aren't
supported, but it did not actually work because it fails to copy the
test sources to the temporary directory.

With this commit, the following test invocation, which previously
failed, now pases:

LANG=en_US.iso8859-1 python -m pytest test_build.py
@tk0miya tk0miya added this to the 3.4.0 milestone Dec 12, 2020
@tk0miya tk0miya merged commit aae2f19 into sphinx-doc:3.x Dec 19, 2020
@tk0miya
Copy link
Member

tk0miya commented Dec 19, 2020

Thank you for your contribution. Good work!

tk0miya added a commit to tk0miya/sphinx that referenced this pull request Dec 19, 2020
tk0miya added a commit that referenced this pull request Dec 20, 2020
test: Add comment for UnicodeEncodeError handler (refs: #8512)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants