Don't expect so many failures
See original GitHub issueI can only guess that test_basic.py has so many expect_failure=True
’s out of a desire to be resilient if the testing environment doesn’t have tools like SVN installed. Really, if there’s a failure in [[http://bitbucket.org/ianb/pip/src/tip/tests/test_basic.py#cl-50|the SVN command]], though, it’s unlikely that any of the following lines will pass. As it is, the instruction to skip looks like at best obfuscation and at worse something that could cause a real problem to slip by undetected. The right answer is probably to use a mechanism to skip tests with dependencies that aren’t installed (and have a mode where everything is run anyway so we can find out what’s needed)
- Bitbucket: https://bitbucket.org/ianb/pip/issue/102
- Originally Reported By: Dave Abrahams
- Originally Created At: 2010-04-28 20:37:31
Issue Analytics
- State:
- Created 13 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
Don't Just Accept Failure, Expect It! | by Saar Oron - Medium
The only difference between success and failure is that success is something we embrace. We never expect failure nor accept it.
Read more >Fail fast and fail often: why many failures can be the key to ...
Of course, it's not about just failing, but learning from your failures. It's said that insanity is doing the same thing over and...
Read more >Should You Expect Failure? - - Help Everybody Everyday
The short answer is no. The long answer is much more complicated. So, let's talk about firsts. Learning To Walk And Kindergarten. This...
Read more >The Hidden Reason Why You Are Not Getting the Results You ...
1. Expect success, regardless of appearance · 2. Don't bring past failures with you. · 3. Visualize your ideal outcome.
Read more >30 Powerful Quotes on Failure - Forbes
1. "Failure isn't fatal, but failure to change might be" - John Wooden · 2. "Everything you want is on the other side...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
All over the place there are tests that call
script.pip
(or similar) that have anexpect_error=True
orexpect_stderr=True
that don’t need it. The way to resolve this ticket is for someone to go through and remove any of those that are not needed for the tests to pass.The
easy fix
part I had in mind was to check wheither the tests were in fact passing but I don’t think we have any test unexpectedly passing. So nevermind theeasy fix
^^