def test_memoizes_multiarg(self):
        called = [0]

        @persistent_memoize
        def target(arg1, arg2):
            """Test function..."""
            called[0] += 1
            return arg1 + arg2

        result1 = target(1, 2)
        self.assertEqual(result1, 3)
        self.assertEqual(called[0], 1)

        result2 = target(1, 2)
        self.assertEqual(result2, 3)
        self.assertEqual(called[0], 1)
Returns a copy of this object.
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_persistent_memoize.py/TestPersistentMemoize.test_memoizes_multiarg--crossover with--dataset/ETHPy150Open wcong/ants/ants/utils/datatypes.py/MultiValueDict.copy