def test_starting_population_fitness_ordered(self):
        start_pop = [1, 2, 3]

        def fitness(genome):
            """
            For illustrative purposes.
            """
            return genome * genome

        ga = genetic_algorithm(start_pop, fitness, None, None)
        expected = [3, 2, 1]
        actual = ga.next()
        self.assertEqual(actual, expected,
            "Actual: %r Expected: %r" % (actual, expected))
Make sure event without notes don't have NULLed field ``notes``
dataset/ETHPy150Open ntoll/foox/test/test_ga.py/TestGeneticAlgorithm.test_starting_population_fitness_ordered--crossover with--dataset/ETHPy150Open swcarpentry/amy/workshops/test/test_event.py/TestEventNotes.test_event_without_notes