Make backward-compatibility magic optional
See original GitHub issueI had some trouble with getting my large test suite to work properly with pytest. A debugging session revealed that I was using method names that pytest identified as “unittest” names, and then also as “nosetest” names. Pytest treated the methods specially as a result. Better for me would be if that helpful magic could be disabled, so that I get just-plain pytest.
My suggestion is to have options --legacy=unittest
and --legacy=nosetest
, and have to opt-in to that behavior. This would be a breaking change, so making it opt-out instead of opt-in is also a reasonable path.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How the GNU C Library handles backward compatibility
The GNU C Library handles backward compatibility like a champ. ... This magic is called "compat symbols," which lets glibc and the static ......
Read more >Serialization for Backward Compatibility in Swift - Medium
Technically, properties that existed in the first app release don't have to be optional. But if we make them non-optional it's easier for...
Read more >Backward Compatibility Rules - Specmatic
There are a few simple rules, and a couple of exceptions. Requests: do not add mandatories (e.g. adding a new mandatory field, making...
Read more >Making SQL Server Function Changes Backwards Compatible
In this article we look at how you can modify a SQL Server user defined function's set of parameters without breaking other code...
Read more >Backward compatible APIs | GarfieldTech
Backward compatibility of a code component is a measure of how many changes (good or bad) code that depends on it needs to...
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 Free
Top 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
most likely
Closing as opt-out is possible as described above, and will track deprecation in #6973.