summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unittest_brain.py18
-rw-r--r--tox.ini1
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(
diff --git a/tox.ini b/tox.ini
index c856f713..7cf8670e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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