Issue #9240 has been updated by Hiroshi SHIBATA. Target version changed from 2.1.0 to current: 2.2.0 ---------------------------------------- Bug #9240: TestModule Test No Longer Valid https://bugs.ruby-lang.org/issues/9240#change-44729 * Author: Simeon Willbanks * Status: Open * Priority: Normal * Assignee: * Category: test * Target version: current: 2.2.0 * ruby -v: ruby 2.1.0dev (2013-12-10 trunk 44106) [x86_64-darwin11.0] * Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN ---------------------------------------- TestModule#test_include_module_with_constants_invalidates_method_cache is no longer valid. Test: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L1783-L1801 The Changelog states, "...this means inclusions of modules containing constants no longer globally invalidate the method cache." Changelog: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L2830-L2832 I've refactored the test and used the new RubyVM.stat method. https://github.com/ruby/ruby/pull/472.patch Any input is appreciated. Thanks! -- http://bugs.ruby-lang.org/