def setUp(self):
        # The '-' argument to `schemamigration` sends the migration
        # to stdout rather than actually creating a real migration.
        with redirect_std() as std:
            call_command('schemamigration', 'south_migrations', '-', auto=True)
            self.migration_code = std['out'].getvalue()
Returns the root nodes in a hierarchical clustering.
dataset/ETHPy150Open lukesneeringer/django-pgfields/tests/south_migrations/tests.py/MigrationCreationSuite.setUp--crossover with--dataset/ETHPy150Open scipy/scipy/scipy/cluster/hierarchy.py/leaders