Fix Sphinx build and check example file existence by kdeldycke · Pull Request #2712 · pygments/pygments
changed the title
Fix Sphinx build
Fix Sphinx build and check example file existence
yselkowitz added a commit to yselkowitz/pygments that referenced this pull request
Jan 13, 2026"Test the existence of the example file" (commit afd62f5, pygments#2712) caused the test to search for the example files relative to the import location of pygments rather than relative to the tests. In normal in-tree usage there may be no practical difference, but in downstream packaging there may be. Resolves: pygments#2992
birkenfeld pushed a commit that referenced this pull request
Feb 20, 2026"Test the existence of the example file" (commit afd62f5, #2712) caused the test to search for the example files relative to the import location of pygments rather than relative to the tests. In normal in-tree usage there may be no practical difference, but in downstream packaging there may be. Resolves: #2992
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters