Update test_cfunction_memory_monitor.py