Fix Python 3.x incompatibility in trace test
Merge pull request #333 from bunder/develop

Fix Python 3.x incompatibility in trace test