Alessio Bogon

Results 32 issues of Alessio Bogon

Hello, I'm the maintainer of [pytest-bdd](https://pytest-bdd.readthedocs.io/en/stable/), and I am working on a big change that will replace the current hand-crafted parser with tatsu. The problem I'm facing is that I...

Rather than ``` python class sleep10(threading.Thread): def run(self): time.sleep(10) thr = sleep10() thr.start() ``` you can just use: ``` python thr = threading.Thread(target=time.sleep, args=(10,)) thr.start() ```

Hey @TvoroG, I hope you're doing well. I really find pytest-lazy-fixture a great pytest plugin, but I noticed that it hasn't had a release since 2020, and there are some...

This PR adds functionality I'm really missing in this library, the ability to pass callable functions instead of just fixture names. The change is extremely simple, (took mainly from pytest-factoryboy's...

`SlackApiError` raises an error when trying to unpickle it. This is particularly annoying in a Celery task since another [bug in celery](https://github.com/celery/celery/issues/6990) will cause the whole worker node to fail....

enhancement
question
web-client
auto-triage-skip

It would be great if pytest-factoryboy could better handle `factory.Maybe`, so that it can reflect how factoryboy handles it. ```python from __future__ import annotations import pytest from factory import *...

We may want to provide an alternative to the `register(...)` function to inject fixtures in the current module. I considered having a special variable, like "bdd_fixtures", that the user can...

Fix many `mypy` issues. Notably, I replace private attributes like `__scenario__`, `__scenario_report__`, etc. with registries (WeakKeyDictionary). E.g. ```python # Old way # setting value scenario_wrapper.__scenario__ = scenario # getting value...