How does pytest FixtureDef store and expose fixture scope information?