pytest 4.6.10 (2020-05-08)
-
#6870: New
Config.invocation_args
attribute containing the unchanged arguments passed topytest.main()
.Remark: while this is technically a new feature and according to our policy it should not have been backported, we have opened an exception in this particular case because it fixes a serious interaction with pytest-xdist, so it can also be considered a bugfix.