  
      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
+index d33d8ca43f..0fec4ac1ec 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'
+@@ -2,7 +2,7 @@
+ require 'test/unit'
  
  module Bug
 -  class TestException < Test::Unit::TestCase

       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

       feature5650 = '[ruby-core:41160]'
       Encoding.list.each do |enc|
diff --git a/test/-ext-/exception/test_ensured.rb b/test/-ext-/exception/test_ensured.rb
index 858245868b..c250e46bab 100644
--- a/test/-ext-/exception/test_ensured.rb
+++ b/test/-ext-/exception/test_ensured.rb
@@ -5,7 +5,7 @@ module Bug
   class Bug7802 < RuntimeError
   end
 
