pylint-bot / test

0 stars 0 forks source link

Enum support should be tested with PyPi backport #248

Closed pylint-bot closed 8 years ago

pylint-bot commented 8 years ago

Originally reported by: BitBucket: ceridwenv, GitHub: @ceridwen?


At the moment, the brain tests only try to import the stdlib version of enum:

try:
    import enum # pylint: disable=unused-import
    HAS_ENUM = True
except ImportError:
    HAS_ENUM = False

This should be extended to include the backport for earlier Python versions, https://pypi.python.org/pypi/enum34.


pylint-bot commented 8 years ago

Original comment by BitBucket: ceridwenv, GitHub: @ceridwen?:


Added in b68ee1186e5f.