diff options
-rw-r--r-- | tests/unittest_brain.py | 18 | ||||
-rw-r--r-- | tox.ini | 1 |
2 files changed, 0 insertions, 19 deletions
diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index 7b358796..4eee0465 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -47,18 +47,6 @@ import sys import unittest try: - import enum # pylint: disable=unused-import - - HAS_ENUM = True -except ImportError: - try: - import enum34 as enum # pylint: disable=unused-import - - HAS_ENUM = True - except ImportError: - HAS_ENUM = False - -try: import nose # pylint: disable=unused-import HAS_NOSE = True @@ -654,12 +642,6 @@ class ThreadingBrainTest(unittest.TestCase): self.assertIsInstance(next(inferred.igetattr(method)), astroid.BoundMethod) -@unittest.skipUnless( - HAS_ENUM, - "The enum module was only added in Python 3.4. Support for " - "older Python versions may be available through the enum34 " - "compatibility module.", -) class EnumBrainTest(unittest.TestCase): def test_simple_enum(self): module = builder.parse( @@ -13,7 +13,6 @@ pylint: git+https://github.com/pycqa/pylint@master [testenv] deps = pypy: backports.functools_lru_cache - pypy: enum34 lazy-object-proxy==1.4.* ; we have a brain for nose ; we use pytest for tests |