def test_number_of_petals_setter(self): """Tests the self._number_of_petals setter.""" test_flower = Flower('rose', 8, 3.50) test_flower.number_of_petals = 13 assert test_flower.number_of_petals == 13