Pytest-bdd test getting type error 'NoneType' object is not subscriptable #13320
-
|
I am trying to run pytest-bdd tests with conftest.py using fixtures at session level. After yeilding the setup data getting the below error features.py step_definitions.py - this is one sample steps |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Why don't you ask in |
Beta Was this translation helpful? Give feedback.
-
|
For starters, show the full traceback instead of only showing a tiny part of the error and making everyone guess. |
Beta Was this translation helpful? Give feedback.
-
|
Nothing of the error you show points to either pytest or pytest-bdd. This looks to be a PyCharm bug, actually: TypeError in |
Beta Was this translation helpful? Give feedback.
Nothing of the error you show points to either pytest or pytest-bdd. This looks to be a PyCharm bug, actually: TypeError in
pydevd_pep_669_tracing-TypeError: 'NoneType' object is not subscriptableusing Python 3.13 : PY-76928