From 3637d9eb3fde10f12abfe2966bcdd30fc9a8808e Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Sat, 22 Feb 2020 17:09:16 +0100 Subject: [PATCH] followup: add note on from_parent kwargs --- doc/en/deprecations.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 6956d0aaa..b707caa13 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -45,6 +45,8 @@ This limitation in api surface intends to enable better/simpler refactoring of t This means that instead of :code:`MyItem(name="foo", parent=collector, obj=42)` one now has to invoke :code:`MyItem.from_parent(collector, name="foo")`. +Note that ``from_parent`` should only be called with keyword arguments for the parameters. + ``junit_family`` default value change to "xunit2"