summaryrefslogtreecommitdiff
path: root/tests/checkers/base/unittest_base.py
blob: 8e432bffb92a77b5f5d358b488a73c7ef8381e0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Licensed under the GPL: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
# For details: https://github.com/pylint-dev/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/pylint-dev/pylint/blob/main/CONTRIBUTORS.txt

"""Unittest for the base checker."""

import unittest


class TestNoSix(unittest.TestCase):
    @unittest.skip("too many dependencies need six :(")
    def test_no_six(self) -> None:
        try:
            has_six = True
        except ImportError:
            has_six = False

        self.assertFalse(has_six, "pylint must be able to run without six")