예제 #1
0
 def test_lineage_name(self):
     f = lambda x: x
     self.assertEqual(f.__name__, name(f))
     f = "test"
     self.assertEqual("test", name(f))
예제 #2
0
 def test_lineage_name(self):
     f = lambda x: x
     self.assertEqual(f.__name__, name(f))
     f = "test"
     self.assertEqual("test", name(f))