def test_before_after_sort_2(self):
        items = [ TestItem(1), TestItem(2), TestItem(3),
                  TestItem(4, after=2, before=3) ]
        actual = before_after_sort(items)
        desired = [ TestItem(1), TestItem(2), TestItem(4), TestItem(3) ]
        self.assertEquals(actual, desired)
Does the before-after sort work when both 'before' and 'after'
dataset/ETHPy150Open enthought/pyface/pyface/tasks/tests/test_topological_sort.py/TopologicalSortTestCase.test_before_after_sort_2