747
747
def test_compatible_parents(self):
753
753
self.assertTrue(w1._compatible_parents(my_parents, set(my_parents)))
755
755
self.assertTrue(w1._compatible_parents(set(), set()))
756
756
# other cannot contain stuff my_parents does not
758
self.assertFalse(w1._compatible_parents(my_parents, set([1, 2, 3, 4])))
758
self.assertFalse(w1._compatible_parents(my_parents, {1, 2, 3, 4}))
762
762
class TestWeaveFile(TestCaseInTempDir):