2.3.0 - better `LazyValue` internal API
- new
clone(self, remove_int_base=False)
API onLazyValue
andLazyTupleItem
instances. With this new API, on oldpytest
< 5.3
, other plugins such aspytest-harvest
can easily clone the contents from lazy values without having them inherit fromint
- which was a dirty hack used bypytest-cases
to trickpytest
to generate acceptable test ids in these old pytest versions. Also improved theLazyValue
,LazyTuple
andLazyTupleItem
object model with equality and repr. Fixes pytest-harvest#43
See documentation page for details.