Пример #1
0
 def test__copy(self):
     f = FunctionSignature(lambda a, b: 2)
     f2 = f.copy()
     self.assertIsNot(f, f2)
     self.assertIsNot(f._args, f2._args)
Пример #2
0
 def test__copy(self):
     f = FunctionSignature(lambda a, b: 2)
     f2 = f.copy()
     self.assertIsNot(f, f2)
     self.assertIsNot(f._args, f2._args)