<s> from memory_profiler import memory_usage <EOL> def some_func ( * args , ** kwargs ) : <EOL> return args , kwargs <EOL> def test_memory_usage ( ) : <EOL> mem , ret = memory_usage ( ( some_func , ( <NUM_LIT:1> , <NUM_LIT:2> ) , dict ( a = <NUM_LIT:1> ) ) , retval = True ) <EOL> assert ret [ <NUM_LIT:0> ] == ( <NUM_LIT:1> , <NUM_LIT:2> ) <EOL> assert ret [ <NUM_LIT:1> ] == dict ( a = <NUM_LIT:1> ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test_memory_usage ( ) </s>
