def test_dump_symbol(self, space):
        w_res = space.execute("return Marshal.dump(:abc)")
        assert space.str_w(w_res) == "\x04\b:\babc"

        w_res = space.execute("return Marshal.dump(('hello' * 25).to_sym)")
        assert space.str_w(w_res) == "\x04\b:\x01}" + "hello" * 25

        w_res = space.execute("return Marshal.dump(('hello' * 100).to_sym)")
        assert space.str_w(w_res) == "\x04\b:\x02\xF4\x01" + "hello" * 100