Eric> Unless you are doing comparison tests, where it would be nice to Eric> be able to state in a generic way that the new implementation Eric> should not change answers. May be something like: Eric> import spam[1] as spamnext # next version Eric> import spam[0] as spamnow # current version Eric> assert spamnow.Ni() == spamnext.Ni() >From the Zen of Python I quote: Namespaces are one honking great idea -- let's do more of those! import spam.v1 as spamnext import spam.v0 as spamnow assert spamnow.Ni() == spamnext.Ni() Skip
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4