def test_load_path_path_separated(self, space, tmpdir, capfd):
        d1 = tmpdir.mkdir("sub")
        d2 = tmpdir.mkdir("sub2")
        f1 = d1.join("f1.rb")
        f1.write("""
        Const1 = 20
        """)
        f2 = d2.join("f2.rb")
        f2.write("""
        require "f1"
        Const2 = 3
        """)
        self.run(space, tmpdir, """
        require "f2"
        puts Const1 + Const2
        """, ruby_args=[(d1, d2) % "-I%s:%s"])
        out, _ = capfd.readouterr()
        assert out == "23\n"
dataset/ETHPy150Open topazproject/topaz/tests/test_main.py/TestMain.test_load_path_path_separated/swapped operands of `%`