def test_topological_sort_3(self):
        pairs = [ (1,2), (2,3), (3,1) ]
        result, has_cycles = topological_sort(pairs)
        self.assert_(has_cycles)
Update rules for all instances.
dataset/ETHPy150Open enthought/pyface/pyface/tasks/tests/test_topological_sort.py/TopologicalSortTestCase.test_topological_sort_3--crossover with--dataset/ETHPy150Open nii-cloud/dodai-compute/nova/virt/libvirt/firewall.py/NWFilterFirewall.refresh_provider_fw_rules