aio-libs / aio-libs/multidict

[TODO] Replace `tests/gen_pickles.py` with a pytest plugin

Aperta
#922 13 commenti 2 reazioni 1 assegnatario Rivendicata da @Vizonex Vedi su GitHub
enhancement good first issue Hacktoberfest help wanted
Lingua principale
Python
Stelle
492
Fork
129
Merge medio
14h 28m
PR unite (30g)
35

Descrizione

The idea is simple:
* [ ] Make a session-scoped fixture in `tests/conftest.py`
* [ ] Move the logic from `gen_pickles.py` there and generate the pickles in a `tmppath`-provided dir
* [ ] Integrate that into the pickling tests
* [ ] Delete `tests/gen_pickles.py` and the pickle files in the `tests/` 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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.