Issue #21346: Fix typo, make message consistent in test_itertools.

Pointed out by Brian Kearns.