[1.7.x] Added a missing unicode_literals that caused a test failure after refs #23226.

Backport of 57b60f9f93 from master