diff --git a/glue/__init__.py b/glue/__init__.py index 906eb68d7..af5b8dcf6 100644 --- a/glue/__init__.py +++ b/glue/__init__.py @@ -5,7 +5,6 @@ import os import sys -import warnings import importlib.metadata @@ -15,7 +14,6 @@ sys.meta_path.append(MatplotlibBackendSetter()) from glue.viewers.custom.helper import custom_viewer -from glue.utils.error import GlueDeprecationWarning # Load user's configuration file from .config import load_configuration diff --git a/glue/conftest.py b/glue/conftest.py index 140cf28c6..e0e0251b1 100644 --- a/glue/conftest.py +++ b/glue/conftest.py @@ -1,19 +1,8 @@ import os import sys -import warnings - -import pytest from glue.config import CFG_DIR as CFG_DIR_ORIG -try: - import objgraph -except ImportError: - OBJGRAPH_INSTALLED = False -else: - OBJGRAPH_INSTALLED = True - - STDERR_ORIGINAL = sys.stderr ON_APPVEYOR = os.environ.get('APPVEYOR', 'False') == 'True'