ruby-changes:69983
From: Nobuyoshi <ko1@a...>
Date: Tue, 30 Nov 2021 13:17:41 +0900 (JST)
Subject: [ruby-changes:69983] d400c44a55 (master): Load io/console earlier
https://git.ruby-lang.org/ruby.git/commit/?id=d400c44a55 From d400c44a554910df542a11f58ff0e2b767b909f7 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Tue, 30 Nov 2021 13:07:37 +0900 Subject: Load io/console earlier Something goes wrong at loading libraries inside `mu_pp` in the test overriding `Class.inherited`. --- tool/lib/core_assertions.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb index 47d711f4fae..d84b7f555ae 100644 --- a/tool/lib/core_assertions.rb +++ b/tool/lib/core_assertions.rb @@ -33,6 +33,7 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/core_assertions.rb#L33 module CoreAssertions require_relative 'envutil' require 'pp' + require 'io/console' def mu_pp(obj) #:nodoc: obj.pretty_inspect.chomp -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/