-
`test\conftest.py`
```python
import pytest
@pytest.fixture(scope='function')
# @pytest.fixture(scope='session')
def fixture_1():
return None
@pytest.hookimpl(tryfirst=True)
def pyt…
-
I am experiencing a weird issue:
'package' scoped fixture will not execute teardown after last test in package is completed if afformentioned fixture is defined outside of package
**Environment**
…
-
Hi! Thanks again for this package :100:
I am aware that the `-k` and `-m` pytest flags are not supported, for good historical reasons (ref https://github.com/LUMC/pytest-workflow/issues/155). Howe…
-
pytest provides a very useful fixture: [tmp_path](https://docs.pytest.org/en/7.1.x/reference/reference.html?highlight=tmp_path#tmp-path) which tests can use to be given a temporary directory unique to…
-
The newly released Channels 2.0 Django package "relies on the `asyncio` library and native Python async support". [They recommend](http://channels.readthedocs.io/en/latest/topics/testing.html) to use …
-
Pytest - 5.4.0
```
pytest_version_test/
├── conftest.py
├── __init__.py
└── test_a.py
```
**conftest.py**
```python
import pytest
def pytest_addoption(parser):
parser.addoptio…
-
### Describe the bug, including details regarding any error messages, version, and platform.
Python version: 3.10.14
pyarrow version: 16.1.0
pandas version: 2.2.2
pytest version: 8.2.1
I have s…
bjfar updated
3 weeks ago
-
This line mentions the possibility of including a track graph in decoding
https://github.com/LorenFrankLab/spyglass/blob/03e39960e31bb358ba3f112220a5fdbb2e6acc76/notebooks/py_scripts/41_Decoding_C…
-
I've been using a custom `django_db_setup` fixture which has worked for years. After upgrading from `4.6` to `4.7` this suddenly doesn't work anymore, resulting in the following error:
`RuntimeErro…
-
From several years ago until recently (works in 8.0.2, doesn't work in 8.1.1), it was possible to get teardown exception information in `pytest_fixture_post_finalizer` by calling `sys.exc_info()`.…