        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..d4d9f2439b 100644
+index 2bc7f02413..706f0e2772 100644
 --- a/test/-ext-/exception/test_enc_raise.rb
 +++ b/test/-ext-/exception/test_enc_raise.rb
-@@ -1,9 +1,9 @@
- # frozen_string_literal: false
--require 'test/unit'
-+require_relative '../lib/test/unit'
+@@ -3,7 +3,7 @@
  require '-test-/exception'
  
  module Bug

       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
--- 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'
 
 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..0fec4ac1ec 100644
--- a/test/-ext-/exception/test_data_error.rb
+++ b/test/-ext-/exception/test_data_error.rb
@@ -2,7 +2,7 @@
 require 'test/unit'
 
 module Bug
-  class TestException < Test::Unit::TestCase
