summaryrefslogtreecommitdiff
path: root/changelog
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2018-10-12 10:01:30 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2018-10-12 10:10:55 -0300
commit8e11fe530487e560ac52f49ec50bda1f49718554 (patch)
treed98a49ced9ee7c93a943ba6fcf0c9e490d904555 /changelog
parent36dc6718435c423f768df8334e93d7f06d752784 (diff)
downloadpytest-8e11fe530487e560ac52f49ec50bda1f49718554.tar.gz
Improve tracebacks for ImportErrors in conftest.py files
Fix #3332
Diffstat (limited to 'changelog')
-rw-r--r--changelog/3332.feature.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/changelog/3332.feature.rst b/changelog/3332.feature.rst
new file mode 100644
index 000000000..e0110c451
--- /dev/null
+++ b/changelog/3332.feature.rst
@@ -0,0 +1,4 @@
+Improve the error displayed when a ``conftest.py`` file could not be imported.
+
+In order to implement this, a new ``chain`` parameter was added to ``ExceptionInfo.getrepr``
+to show or hide chained tracebacks in Python 3 (defaults to ``True``).