2021-03-15 03:58:37 +08:00
|
|
|
Added :meth:`cache.mkdir() <pytest.Cache.mkdir>`, which is similar to the existing :meth:`cache.makedir() <pytest.Cache.makedir>`,
|
|
|
|
but returns a :class:`pathlib.Path` instead of a legacy ``py.path.local``.
|
2021-04-26 22:46:26 +08:00
|
|
|
|
2021-05-24 04:45:49 +08:00
|
|
|
Added a ``paths`` type to :meth:`parser.addini() <pytest.Parser.addini>`,
|
2021-04-26 22:46:26 +08:00
|
|
|
as in ``parser.addini("mypaths", "my paths", type="paths")``,
|
|
|
|
which is similar to the existing ``pathlist``,
|
|
|
|
but returns a list of :class:`pathlib.Path` instead of legacy ``py.path.local``.
|