fix ddmenu for python 3x tests