Ensured same output for dictcomp.py test case

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>