lib/test/unit/testcase.rb in test-unit-3.4.4 vs lib/test/unit/testcase.rb in test-unit-3.4.5
- old
+ new
@@ -445,10 +445,10 @@
private
# @private
@@method_locations = {}
# @private
- @@method_location_mutex = Mutex.new
+ @@method_location_mutex = Thread::Mutex.new
# @private
def method_locations
@@method_locations[self] ||= []
end