coerce pytest args to str to fix assertion error in pytest
changed solution to use already-existing code for all py 2.x
Merge pull request #2512 from eteq/fix-test-helper-unicode-error

Coerce pytest args to str to fix assertion error in pytest in all py2.x