blob: 99a8f659ee5296307e4a930fcf5d5bd3e59656aa (
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/PyCQA/pylint/blob/main/LICENSE
# Copyright (c) https://github.com/PyCQA/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")
|