Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

INTERNALERROR when trying to access a key that does not exist #170

Open
asyash26 opened this issue Nov 21, 2024 · 0 comments
Open

INTERNALERROR when trying to access a key that does not exist #170

asyash26 opened this issue Nov 21, 2024 · 0 comments

Comments

@asyash26
Copy link

I am getting an INTERNALERROR - KeyError: <_pytest.stash.StashKey object at 0x7b7bacafe440> in the following line of code:

if item._store[xfailed_key]:

Replacing the line with if item._store.get(xfailed_key, None): would fix the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant