Fix false positives from @deprecated
for shutil.rmtree
#12116
Merged
8000
@deprecated
for shutil.rmtree
#12116