From 7266e35f43cf2a451b5a0c786edc98ab9e0747b1 Mon Sep 17 00:00:00 2001 From: Robert Barsch Date: Thu, 18 Mar 2021 18:00:38 +0100 Subject: [PATCH] define deprecated modules in runtests --- obspy/scripts/runtests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/obspy/scripts/runtests.py b/obspy/scripts/runtests.py index 0d084828796..dd51b0d9f13 100644 --- a/obspy/scripts/runtests.py +++ b/obspy/scripts/runtests.py @@ -108,6 +108,7 @@ from obspy.core.util.version import get_git_version +DEPRECATED_MODULES = ['clients.arclink', 'clients.seishub', 'db'] HARD_DEPENDENCIES = [ "numpy", "scipy", "matplotlib", "lxml.etree", "setuptools", "sqlalchemy", "decorator", "requests"] @@ -148,7 +149,7 @@ def _get_suites(verbosity=1, names=[]): status = True import_failures = {} for name in names: - if name == 'clients.arclink': + if name in DEPRECATED_MODULES: continue suite = [] if name in ALL_MODULES: