aio-libs/multidict
[TODO] Replace `tests/gen_pickles.py` with a pytest plugin
Offen
#922 geöffnet am 16.01.2024
Hacktoberfestenhancementgood first issuehelp wanted
Repository-Metriken
- Stars
- (491 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
The idea is simple:
- Make a session-scoped fixture in
tests/conftest.py - Move the logic from
gen_pickles.pythere and generate the pickles in atmppath-provided dir - Integrate that into the pickling tests
- Delete
tests/gen_pickles.pyand the pickle files in thetests/dir - Bonus points: keep pickles in-memory, so they don't hit the disk
- Bonus 2: check if a session fixture is needed and switch to the normal function scope, if not