Skip to content

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

Merged
tk0miya merged 1 commit intosphinx-doc:3.xfrom
jbms:fix-nonascii_srcdir
Dec 19, 2020
Merged

Fix nonascii_srcdir to work when non-ascii directories aren't supported#8512
tk0miya merged 1 commit intosphinx-doc:3.xfrom
jbms:fix-nonascii_srcdir

Conversation

@jbms
Copy link
Copy Markdown
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
Comment thread tests/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
Copy Markdown
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