def test__copy(self): f = FunctionSignature(lambda a, b: 2) f2 = f.copy() self.assertIsNot(f, f2) self.assertIsNot(f._args, f2._args)