Fix flavor list unit test python 3.3 compatibility issue.