summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/testing/plugin/bootstrap.py
diff options
context:
space:
mode:
authorParth Shandilya <parth1989shandilya@gmail.com>2019-01-31 23:24:29 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-02-02 11:25:44 -0500
commitd427d0643b235ea0f6b50a357bbe5bdb087403c4 (patch)
tree7761e13db68e0c49f27e2defcd9ea8965e1445c2 /lib/sqlalchemy/testing/plugin/bootstrap.py
parent7e48d8b2a70b399ffa6ec874f824d6cee82980a0 (diff)
downloadsqlalchemy-d427d0643b235ea0f6b50a357bbe5bdb087403c4.tar.gz
Remove Nose support
The test system has removed support for Nose, which is unmaintained for several years and is producing warnings under Python 3. The test suite is currently standardized on Pytest. Pull request courtesy Parth Shandilya. Fixes: #4460 Closes: #4476 Pull-request: https://github.com/sqlalchemy/sqlalchemy/pull/4476 Pull-request-sha: e857af9c7d07355e52841149ee2e5d4448409e1e Change-Id: I76516fae1cf0eb58f2e9fc9f692e591e0fcf39a4
Diffstat (limited to 'lib/sqlalchemy/testing/plugin/bootstrap.py')
-rw-r--r--lib/sqlalchemy/testing/plugin/bootstrap.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/sqlalchemy/testing/plugin/bootstrap.py b/lib/sqlalchemy/testing/plugin/bootstrap.py
index 2230ae2a8..a95c947e2 100644
--- a/lib/sqlalchemy/testing/plugin/bootstrap.py
+++ b/lib/sqlalchemy/testing/plugin/bootstrap.py
@@ -1,5 +1,5 @@
"""
-Bootstrapper for nose/pytest plugins.
+Bootstrapper for test framework plugins.
The entire rationale for this system is to get the modules in plugin/
imported without importing all of the supporting library, so that we can
@@ -41,8 +41,5 @@ def load_file_as_module(name):
if to_bootstrap == "pytest":
sys.modules["sqla_plugin_base"] = load_file_as_module("plugin_base")
sys.modules["sqla_pytestplugin"] = load_file_as_module("pytestplugin")
-elif to_bootstrap == "nose":
- sys.modules["sqla_plugin_base"] = load_file_as_module("plugin_base")
- sys.modules["sqla_noseplugin"] = load_file_as_module("noseplugin")
else:
raise Exception("unknown bootstrap: %s" % to_bootstrap) # noqa