def test_search_path(self, space, tmpdir, capfd, monkeypatch):
        f = tmpdir.join("a")
        f.write("puts 17")
        monkeypatch.setenv("PATH", (tmpdir, os.environ["PATH"]) % "%s:%s")
        self.run(space, tmpdir, ruby_args=["-S", "a"])
        out, _ = capfd.readouterr()
        assert out == "17\n"
dataset/ETHPy150Open topazproject/topaz/tests/test_main.py/TestMain.test_search_path/swapped operands of `%`