-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
StopIteration raised when parsing unittest output #160
Comments
Hi @elharo, thanks for your report. It looks like there is something in the unittest output when you are running the tests that it confusing Spyder. Would it be possible for you to find out which of your tests is causing problems? Failing that, can you send me the output if you run unittest by hand from the command line? |
with some effort I reverted to a state where it occurs. here's the CLI output in that case:
|
The bug in my code that caused a test to fail was that |
The code in question is not open source so I don't want to attach it here, but neither is it hugely confidential. If you send me your email I can forward you a zip of the project in question. |
I can reproduce the stack trace with the following simple test:
The messages to stderr get interspersed with the unittest output. If you can use stdout instead, that would probably fix the issue. Another workaround is to run your tests using pytest, which does run |
Description
What steps will reproduce the problem?
ran unit tests; otherwise damned if I know; see stack trace
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: