-
-
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
pytester: quick fix error introduced in #5990 #6353
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @mulatinho!
Please also include a test in testing/test_pytester.py
that reproduces the original problem, so we can avoid regressions like this one in the future. 👍
changelog/6532.bugfix.rst
Outdated
@@ -0,0 +1 @@ | |||
Fixing error introducted by #5990 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing error introducted by #5990 | |
Fix problem with ``testdir`` not recognizing errors correctly in runs with a single test. |
- added a test to check this condition Signed-off-by: Alexandre Mulatinho <[email protected]>
@nicoddemus thanks for the feedback, I added one test to avoid that as you requested. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for the contribution @mulatinho!
Fix `RunResult.parseoutcomes` (follow-up to #6353)
Fixes: #6352