aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
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 /pyproject.toml
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 'pyproject.toml')
-rw-r--r--pyproject.toml1
1 files changed, 0 insertions, 1 deletions
diff --git a/pyproject.toml b/pyproject.toml
index 21bc26d7..21857f84 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -45,7 +45,6 @@ pre-commit = "3.2.0"
[tool.poetry.group.test.dependencies]
coverage = "7.2.2"
-pyfakefs = "5.1.0"
[build-system]
requires = ["poetry-core>=1.2.0"]