def test_dump_string(self, space):
        w_res = space.execute("return Marshal.dump('')")
        assert space.str_w(w_res) == "\x04\bI\"\x00\x06:\x06ET"

        w_res = space.execute("return Marshal.dump('abc')")
        assert space.str_w(w_res) == "\x04\bI\"\babc\x06:\x06ET"

        w_res = space.execute("return Marshal.dump('i am a longer string')")
        assert space.str_w(w_res) == "\x04\bI\"\x19i am a longer string\x06:\x06ET"