I’m using vscode as IDE I have code a very simple usage of pytest fixture but it doesn’t working when basic example fixture found in the pytest documentation are working well : I get in the test summary info : Answer pytest does not recognize setitem_getitem like test, so you should rename it to test_setitem_getitem and try it out: