-
# 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 …
-
```
snafu$ for w in 'connect(' VariantMapper AssemblyMapper Normalizer Validator; do printf "%d $w\n" $(fgrep $w tests/*.py|wc -l); done
18 connect(
16 VariantMapper
15 AssemblyMapper
11 Normal…
reece updated
4 years ago
-
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
-
This was my rsync command ... instead of excluding be explicit about what needs to be included.
```
INFO : process started
```
This is what it is doing ...
```
INFO : process …
-
Aequilibrae currently uses pytest as a test runner, but does not make use of any of the (very useful) features of this package, such as fixtures and the assert (rewriting) system, since all tests are …
-
Many of our tests have type hints, primarily on fixtures and the test function parameters, but we have some remaining exclusions, as noted in #1229.
It is worth noting that consistency between elem…
-
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…
-
#### What's the problem this feature will solve?
I am the author of [next-actions/pytest-mh](https://github.com/next-actions/pytest-mh) which is a multihost testing plugin for pytest. We are do…
-
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
-
# Feature or enhancement
I would like to add `__enter__` and `__exit__` methods to [`contextvars.Context`](https://docs.python.org/3/library/contextvars.html#contextvars.Context) such that these tw…