test_cmdline: fix version check, Py3 cannot order int vs. string.