tests/test_tools.py items() instead of iteritems() is Python3 compatible