-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
get_resource_reader: IndentationError: unexpected indent #13135
Comments
it seems your installation is corrupted and something removed conditionals |
This is wild. I can't reproduce using your steps above, and I agree that something is rewriting pytest's source code here. Most likely not a pytest issue. Can you show a full terminal session where you do the steps above? |
@The-Compiler What exactly do you mean by that? Here's a full output:
|
Yep, that. Basically I'm looking at any clues to see what could be happening, and a full 1:1 terminal session can help with that. However, I'm still at a loss. Evidently something is tampering with pytest's source code on your system somehow. Could you rerun with |
Oh, and could you also please upload your entire:
somewhere? Maybe there is more clues in there on what's going on, when looking at the difference to what's actually uploaded to PyPI by pytest. |
MWE:
Set up venv:
Activate:
Install pytest:
Run it:
The file in question:
The text was updated successfully, but these errors were encountered: