Fix dict_keys equality test for python 3.
Merge pull request #1523 from sigilion/master

Fix dict_keys equality test for python 3.