Skip to content

Commit

Permalink
Expanding pyutilib.enum removal message
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiirola committed Jun 17, 2020
1 parent a8ec332 commit b7de891
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyutilib/enum/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.""")

0 comments on commit b7de891

Please sign in to comment.