diff --git a/openedx/testing/coverage_context_listener/pytest_plugin.py b/openedx/testing/coverage_context_listener/pytest_plugin.py deleted file mode 100644 index a3679027e8..0000000000 --- a/openedx/testing/coverage_context_listener/pytest_plugin.py +++ /dev/null @@ -1,29 +0,0 @@ -""" -A pytest plugin that reports test contexts to coverage running in another process. -""" - -import pytest - - -class RemoteContextPlugin: - """ - Pytest plugin for reporting pytests contexts to coverage running in another process - """ - def __init__(self, config): - self.config = config - self.active = config.getoption("pytest-contexts") - - -@pytest.hookimpl(tryfirst=True) -def pytest_configure(config): - config.pluginmanager.register(RemoteContextPlugin(config), "remotecontextplugin") - - -def pytest_addoption(parser): - group = parser.getgroup("coverage") - group.addoption( - "--pytest-remote-contexts", - action="store_true", - dest="pytest-contexts", - help="Capture the pytest contexts that coverage is being captured in in another process", - )