Replaced by pylint check.
Merge pull request #19102 from cachedout/remove_perm_unit_test

Replaced by pylint check.