From c2ece58aa0f0e75b49840fe8860cea505bbc6a05 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sat, 16 Oct 2021 10:29:21 +0300 Subject: [PATCH] Add legacypath plugin --- src/_pytest/config/__init__.py | 1 + src/_pytest/legacypath.py | 1 + 2 files changed, 2 insertions(+) create mode 100644 src/_pytest/legacypath.py diff --git a/src/_pytest/config/__init__.py b/src/_pytest/config/__init__.py index 8bbb2720d..34a7a80e1 100644 --- a/src/_pytest/config/__init__.py +++ b/src/_pytest/config/__init__.py @@ -240,6 +240,7 @@ default_plugins = essential_plugins + ( "unittest", "capture", "skipping", + "legacypath", "tmpdir", "monkeypatch", "recwarn", diff --git a/src/_pytest/legacypath.py b/src/_pytest/legacypath.py new file mode 100644 index 000000000..602fe1de8 --- /dev/null +++ b/src/_pytest/legacypath.py @@ -0,0 +1 @@ +"""Add backward compatibility support for the legacy py path type."""