GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 23-25 lines in 2 locations

tests/test_color_converter.py 2 locations

@@ 118-142 (lines=25) @@
115
        self.assertRaises(AssertionError, COLOR_CONVERTER.hex_to_int, "100")
116
117
118
class HexesToRGBsTest(TestCase):
119
    """Testing Hexes to RGBs conversion and its corner cases."""
120
121
    def test_default_hex_conversion(self):
122
        """."""
123
        rgb = COLOR_CONVERTER.hexes_to_rgbs(["80", "80", "80"])
124
125
        self.assertEqual(rgb, [128, 128, 128])
126
127
    def test_default_hexa_conversion(self):
128
        """4 valid hexes should convert to rgba."""
129
        rgba = COLOR_CONVERTER.hexes_to_rgbs(["80", "80", "80", "80"])
130
131
        self.assertEqual(rgba, [128, 128, 128, 128])
132
133
    def test_invalid_hex_low_len(self):
134
        """Require at least 3 values."""
135
        self.assertRaises(AssertionError, COLOR_CONVERTER.hexes_to_rgbs, ["FF", "FF"])
136
137
    def test_invalid_hex_high_len(self):
138
        """Require at most 4 values."""
139
        self.assertRaises(
140
            AssertionError,
141
            COLOR_CONVERTER.hexes_to_rgbs,
142
            ["FF", "FF", "FF", "FF", "FF"]
143
        )
144
145
@@ 47-69 (lines=23) @@
44
        self.assertEqual(hex_value, "ff")
45
46
47
class RGBsToHexesTest(TestCase):
48
    """Testing RGBs to hexes conversion and its corner cases."""
49
50
    def test_default_rgb_conversion(self):
51
        """3 valid ints should convert to 3 hexes."""
52
        hexes = COLOR_CONVERTER.rgbs_to_hexes([128, 128, 128])
53
54
        self.assertEqual(hexes, ["80", "80", "80"])
55
56
    def test_default_rgba_conversion(self):
57
        """4 valid ints should convert to 4 hexes."""
58
        hexes = COLOR_CONVERTER.rgbs_to_hexes([128, 128, 128, 128])
59
60
        self.assertEqual(hexes, ["80", "80", "80", "80"])
61
62
63
    def test_invalid_rgb_low_len(self):
64
        """RGB are at least 3 values."""
65
        self.assertRaises(AssertionError, COLOR_CONVERTER.rgbs_to_hexes, [128, 128])
66
67
    def test_invalid_rgb_high_len(self):
68
        """RGB are at most 4 values."""
69
        self.assertRaises(AssertionError, COLOR_CONVERTER.rgbs_to_hexes, [128, 128, 128, 128, 128])
70
71
72
class HexesToStringTest(TestCase):