-
-
Notifications
You must be signed in to change notification settings - Fork 125
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
unittest fails on the master branch #256
Comments
Thanks for the report. I noticed this issue when there was a line missing from the end of the diff file, but after adding it that did seem to be resolved. It looks like the issue is still happening in forked repos (such as yours, and here). @rgalonso might know why this still seems to occur in other repos, specifically with the |
I can't replicate this issue when using the latest commit on @nahcnuj, a few questions:
Tip: As we debug this, you can limit the testing to just the one that's failing by running:
@alstr, just FYI that the action run you linked to (for netpoe's fork) is one where the diff file hadn't been fixed yet to address this issue. (The log shows that its using commit 3ba6066.) So the fact that it shows a failure is unsurprising. |
Also, a clarification regarding this statement:
This could in fact impact any test involving:
Specifically, if one of these files weren't formatted properly (for example, not ending with a blank line), then this issue would be triggered. The |
@alstr, if it turns out that this is due to some subtle difference between versions of the system utility |
Thank you for your quick response and for trying to replicate the issue.
Yes, I am certain there are no local modifications, especially within the tests subdirectory.
I am running within the Dev Container. I appreciate the tip on limiting the test. I'll try running the specific test you mentioned and see if I can provide any more insights. |
@rgalonso That makes sense, thanks. |
I encountered an error when running
unittest
on the master branch of the repository right after cloning it. Below are the details of the error:Steps to Reproduce:
python -m unittest
Observed Behavior:
The following error is displayed:
Expected Behavior:
All tests should pass without any errors.
The text was updated successfully, but these errors were encountered: