summaryrefslogtreecommitdiff
path: root/src/_pytest/deprecated.py
diff options
context:
space:
mode:
authorBruno Oliveira <nicoddemus@gmail.com>2020-08-17 17:34:28 -0300
committerBruno Oliveira <nicoddemus@gmail.com>2020-08-19 08:13:03 -0300
commit73e06373dc67055bf83d9a1f6cf3242bc90a68c3 (patch)
tree84591d1e1ea87d459646184f53fa18a4b88f53b9 /src/_pytest/deprecated.py
parentc747dc524878bb476e44d8ee17abd507da0a2c01 (diff)
downloadpytest-73e06373dc67055bf83d9a1f6cf3242bc90a68c3.tar.gz
Hard failure when constructing Node subclasses
Diffstat (limited to 'src/_pytest/deprecated.py')
-rw-r--r--src/_pytest/deprecated.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/_pytest/deprecated.py b/src/_pytest/deprecated.py
index 2f3c80251..401cce80d 100644
--- a/src/_pytest/deprecated.py
+++ b/src/_pytest/deprecated.py
@@ -30,13 +30,6 @@ RESULT_LOG = PytestDeprecationWarning(
"See https://docs.pytest.org/en/stable/deprecations.html#result-log-result-log for more information."
)
-NODE_USE_FROM_PARENT = UnformattedWarning(
- PytestDeprecationWarning,
- "Direct construction of {name} has been deprecated, please use {name}.from_parent.\n"
- "See "
- "https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent"
- " for more details.",
-)
JUNIT_XML_DEFAULT_FAMILY = PytestDeprecationWarning(
"The 'junit_family' default value will change to 'xunit2' in pytest 6.0. See:\n"