-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
python3.11 -m venv _e
. _e/bin/activate
pip install -e .
pip install pytest
python -m pytest
================================================ test session starts =================================================
platform linux -- Python 3.11.4, pytest-7.4.0, pluggy-1.2.0
rootdir: /home/ben/src/forks/brukerapi-python
collected 7 items
test/test_dataset.py s.EE [ 57%]
test/test_jcampdx.py s [ 71%]
test/test_random_access.py s [ 85%]
test/test_split.py s [100%]
======================================================= ERRORS =======================================================
__________________________________________ ERROR at setup of test_data_load __________________________________________
request = <SubRequest 'test_data' for <Function test_data_load>>
@pytest.fixture()
def test_data(request):
> return request.param
E AttributeError: 'SubRequest' object has no attribute 'param'
test/conftest.py:60: AttributeError
__________________________________________ ERROR at setup of test_data_save __________________________________________
request = <SubRequest 'test_data' for <Function test_data_save>>
@pytest.fixture()
def test_data(request):
> return request.param
E AttributeError: 'SubRequest' object has no attribute 'param'
test/conftest.py:60: AttributeError
================================================== warnings summary ==================================================
[…]
============================================== short test summary info ===============================================
ERROR test/test_dataset.py::test_data_load - AttributeError: 'SubRequest' object has no attribute 'param'
ERROR test/test_dataset.py::test_data_save - AttributeError: 'SubRequest' object has no attribute 'param'
================================ 1 passed, 4 skipped, 15 warnings, 2 errors in 4.72s =================================
Metadata
Metadata
Assignees
Labels
No labels