test_cmdline: handle Python 3.4's new --version behavior.