#!/usr/bin/env pythonimportdifflibimportsyswithopen(sys.argv[1],'r')asf:origin=f.read()origin=origin.splitlines()withopen(sys.argv[2],'r')asf:new=f.read()new=new.splitlines()differ=difflib.Differ()result=differ.compare(origin,new)error=Falsediffs=[]foreach_diffinresult:ifeach_diff[0]=='-':# delete unit test is not allowederror=Truediffs.append(each_diff)'''If you delete the unit test, such as commenting it out, please ask for approval of one RD below for passing CI: - XiaoguangHu01 or luotao1 or phlrain or lanxianghit or zhouwei25'''iferror:print('Deleted Unit test is: ')foreach_diffindiffs:print(each_diff)