diff options
| author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-04-23 17:58:21 +0200 |
|---|---|---|
| committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-04-24 13:49:08 +0200 |
| commit | ae6635c819acb68f8533b53a73262c87abf2989b (patch) | |
| tree | b394b867923da468b36c616e6cb766a9ef287f1f | |
| parent | f53a239f721560ab90bc911e6691bf5f4ef948ec (diff) | |
| download | astroid-git-ae6635c819acb68f8533b53a73262c87abf2989b.tar.gz | |
Remove check for six tox-environment
| -rw-r--r-- | tests/unittest_brain.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/unittest_brain.py b/tests/unittest_brain.py index 34fb4d8f..0e8c5911 100644 --- a/tests/unittest_brain.py +++ b/tests/unittest_brain.py @@ -33,7 +33,6 @@ """Tests for basic functionality in astroid.brain.""" import io -import os import queue import re import sys @@ -401,12 +400,6 @@ class NoseBrainTest(unittest.TestCase): @unittest.skipUnless(HAS_SIX, "These tests require the six library") class SixBrainTest(unittest.TestCase): - @classmethod - def setUpClass(cls): - tox_env = os.environ.get("TOX_ENV_NAME") - if tox_env and not tox_env.endswith("-six") and HAS_SIX: - raise Exception("six was installed in a non-six testing environment.") - def test_attribute_access(self): ast_nodes = builder.extract_node( """ |
