        assert_separately([], <<-'end;') # do
  
 diff --git a/test/-ext-/exception/test_exception_at_throwing.rb b/test/-ext-/exception/test_exception_at_throwing.rb
-index aba26079eb..6c1269b88f 100644
+index aba26079eb..4bce348a25 100644
 --- a/test/-ext-/exception/test_exception_at_throwing.rb
 +++ b/test/-ext-/exception/test_exception_at_throwing.rb
-@@ -1,8 +1,8 @@
- # frozen_string_literal: true
--require 'test/unit'
-+require_relative '../lib/test/unit'
+@@ -2,7 +2,7 @@
+ require 'test/unit'
  
  module Bug
 -  class TestException < Test::Unit::TestCase

 
     SIZEOF_BDIGIT = Integer::SIZEOF_BDIGIT
diff --git a/test/-ext-/exception/test_data_error.rb b/test/-ext-/exception/test_data_error.rb
index d33d8ca43f..1b33bbd33c 100644
--- a/test/-ext-/exception/test_data_error.rb
+++ b/test/-ext-/exception/test_data_error.rb
@@ -1,8 +1,8 @@
 # frozen_string_literal: false
-require 'test/unit'
+require_relative '../lib/test/unit'
 
 module Bug
-  class TestException < Test::Unit::TestCase

       bug9167 = '[ruby-core:58643] [Bug #9167]'
       assert_normal_exit(<<-'end;', bug9167) # do
diff --git a/test/-ext-/exception/test_enc_raise.rb b/test/-ext-/exception/test_enc_raise.rb
index 2bc7f02413..706f0e2772 100644
--- a/test/-ext-/exception/test_enc_raise.rb
+++ b/test/-ext-/exception/test_enc_raise.rb
@@ -3,7 +3,7 @@
 require '-test-/exception'
 
 module Bug
