From b7de891cffb2ba3a19c5f5f8ce1f271a52e0300f Mon Sep 17 00:00:00 2001 From: John Siirola Date: Wed, 17 Jun 2020 10:34:50 -0600 Subject: [PATCH] Expanding pyutilib.enum removal message --- pyutilib/enum/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyutilib/enum/__init__.py b/pyutilib/enum/__init__.py index eafd8fbf..aa710c00 100644 --- a/pyutilib/enum/__init__.py +++ b/pyutilib/enum/__init__.py @@ -11,5 +11,8 @@ import sys if 'nose' not in sys.modules and 'nose2' not in sys.modules: - raise ImportError('pyutilib.enum has been deprecated. Similar functionality ' - 'can be found in the Python enum package') + raise ImportError("""pyutilib.enum has been removed. + +Python 3 now has an enum implementation in the standard library (also +available for older Python versions as the third-party enum34 PyPI +package) that supersedes this library.""")