aboutsummaryrefslogtreecommitdiffstats
path: root/static-builds
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2023-03-22 23:19:44 +0100
committerGravatar Johannes Christ <[email protected]>2023-03-25 22:47:13 +0100
commitfeb54974056578836de841971a953f2cd206ce80 (patch)
treeb3d3cf0fb7e72e91154cab01f783759cb8b4ddf7 /static-builds
parentMerge pull request #916 from python-discord/dependabot/pip/markdown-3.4.3 (diff)
Drop dependency to pyfakefs
Create a temporary directory to manage our resource tests instead of reyling on pyfakefs to mock it away for us. This also makes the code more portable: all we need now is a way to create a temporary directory. `pathlib` mostly abstracts away the other parts for us. Since we're well-behaved, we clean up the temporary directory at the end of the Python interpreter's life using `atexit` and `shutil.rmtree`. This PR was written and tested with Python 3.9 which required some hacks in `pyproject.toml` to make it work, it may require re-locking if CI throws up. Closes #679.
Diffstat (limited to 'static-builds')
0 files changed, 0 insertions, 0 deletions