test: remove unnecessary --pending-deprecation
flag
#38819
Merged
--pending-deprecation
flag
#38819