def test_unique(self): # Assert list copy with unique items. v = graph.unique([1, 1, 1]) self.assertEqual(len(v), 1) self.assertEqual(v[0], 1) print "pattern.graph.unique()"
def test_unique(self): # Assert list copy with unique items. v = graph.unique([1,1,1]) self.assertEqual(len(v), 1) self.assertEqual(v[0], 1) print "pattern.graph.unique()"