def _do_test_commandline(self, cmdline, expected):
        cmd = '%s -c "import sys; print(sys.argv)" %s'
        cmd = (python, cmdline) % cmd
        with os.popen(cmd) as p:
            data = p.read()
        got = eval(data)[1:] # strip off argv[0]
        self.assertEqual(got, expected)
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_popen.py/PopenTest._do_test_commandline/swapped operands of `%`