summaryrefslogtreecommitdiff
path: root/changelog
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2020-08-06 14:37:19 +0300
committerRan Benita <ran@unusedvar.com>2020-09-04 18:04:25 +0300
commita346028006a7ca9d07788e837456b3ab3a1209eb (patch)
treea2a1eec70bc82b8eb56f2a77046cbd4a9c99fe5c /changelog
parent3085c99e4768b6dc46a7a40c2e29216e12faeb84 (diff)
downloadpytest-a346028006a7ca9d07788e837456b3ab3a1209eb.tar.gz
config: add Config.{rootpath,inipath}, turn Config.{rootdir,inifile} to properties
Diffstat (limited to 'changelog')
-rw-r--r--changelog/7685.improvement.rst3
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.