diff options
author | Ran Benita <ran@unusedvar.com> | 2020-09-04 18:42:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-04 18:42:52 +0300 |
commit | 885d96948441938877d6222494c87c64a1b0f476 (patch) | |
tree | dea9fe89857ae8f7071e7991dd06dd186e0ea559 /changelog | |
parent | 0d0b7986636122c612a579073238af8936f25465 (diff) | |
parent | 62e249a1f934d1073c9a0167077e133c5e0f6270 (diff) | |
download | pytest-885d96948441938877d6222494c87c64a1b0f476.tar.gz |
Merge pull request #7685 from bluetech/py-to-pathlib-2
config: start migrating Config.{rootdir,inifile} from py.path.local to pathlib
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/7685.improvement.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog/7685.improvement.rst b/changelog/7685.improvement.rst new file mode 100644 index 000000000..597721624 --- /dev/null +++ b/changelog/7685.improvement.rst @@ -0,0 +1,3 @@ +Added two new attributes :attr:`rootpath <_pytest.config.Config.rootpath>` and :attr:`inipath <_pytest.config.Config.inipath>` to :class:`Config <_pytest.config.Config>`. +These attributes are :class:`pathlib.Path` versions of the existing :attr:`rootdir <_pytest.config.Config.rootdir>` and :attr:`inifile <_pytest.config.Config.inifile>` attributes, +and should be preferred over them when possible. |