See https://bugs.ruby-lang.org/issues/12534. test/mri/ruby/test_refinement.rb will be excluded until this is fixed, since it attempts to do this within the test class's body.