Python - Resistor Color Expert

In the Python track, on Resistor Color Expert exercise, there is this test:

    def test_blue_grey_white_red_and_brown(self):
        self.assertEqual(
            resistor_label(["blue", "grey", "white", "brown", "brown"]), "6.89 kiloohms ±1%"
        )

As you can see, the test is called ‘blue_grey_white_red_and_brown’ but it’s actually evaluating [“blue”, “grey”, “white”, “brown”, “brown”].

So the name is not right, even though it does not affect the execution of tests.

1 Like

Hi @vsoto1234 :wave: Welcome to the Exercism forums.

Thanks for reporting this!
It has been fixed and merged in PR #3669.

2 Likes