-
# Problem
Running with coverage via `hatch test ...` or `coverage run -m pytest ...` seems to break coverage, but only if run on pypy. The traceback indicates `defer-imports`'s import hook machinery …
-
### Bug description
Trying to use pylint on a file called 'pytest' gives errors, originating from the file astroid/brain/brain_pytest.py, even if the actual file-under-test is empty.
Renaming the fi…
-
The pytest code for selecting a target currently looks like this (fixtures.py):
```
@pytest.fixture(scope="session")
def target(env):
"""Return the default target `main` configured in the supp…
sjg20 updated
3 months ago
-
Someone in my pytest training accidentally did:
```python
import pytest
@pytest.mark.usefixtures()
def test_fixt():
pass
```
but forgot to pass a fixture name. Because we do:
https…
-
Dedicated repository for exhibiting the problem and with detailed description see https://github.com/vlcinsky/pytest_generate_tests-conflicts
From "summary" in repository README.md
### Duplicate…
-
One of the goals we aim for in tests in `cql-pytest` is we want to be able to run them against both Scylla and Cassandra. For that purpose, we meticulously mark them with dummy variables like `scylla_…
dawmd updated
4 weeks ago
-
When running the test suit, all calls to `test_run_setup_py_from_dir` fail:
```
[ 14s] _ TestMetaExtract.test_run_setup_py_from_dir[setuptools_simple-expected_data0] _
[ 14s]
[ 14s] self …
mcepl updated
1 month ago
-
Hi Eric :)
first off, congrats for maintaining such an amazing blog on `pytest` features. I'm gradually going through all of the posts: they're great!
As for the `autouse` internals, some doubts d…
-
```
_______________________________________________________________________ ERROR at setup of test_show_missing_coveragerc[branch1c] __________________________________________________________________…
-
Non-standard but supported use case in FactoryBoy is using a factory function for the 'model' definition, e.g.:
```python
def _some_factory_func(*args, **kwargs):
# do some cleanup/advanced log…