@whitelist.__func__
	def cancel(self):
		self.docstatus = 2
		self.save()
Test issue #1573
dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.cancel--crossover with--dataset/ETHPy150Open numba/numba/numba/tests/test_nrt_refct.py/TestNrtRefCt.test_invalid_computation_of_lifetime