Fix new lint failure. (#7382)

F632 use ==/!= to compare str, bytes, and int literals.
1 file changed