Files
Kazuhiro NISHIYAMAandClaude Fable 5 9e985ff5da Omit direct ISeq#to_binary tests when coverage is enabled
RubyVM::InstructionSequence#to_binary raises "should not compile with
coverage" while coverage measurement is enabled. Most to_binary tests
in test_iseq.rb go through the iseq_to_binary helper, which omits the
test in that case, but these two call to_binary directly. This makes
`make check COVERAGE=true` fail deterministically, which has kept the
ruby/actions coverage workflow red on every scheduled run.

Use the helper in test_serialize_anonymous_outer_variables, and guard
test_rb_iseq_load_from_binary with the same idiom.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-07 17:53:31 +09:00
..