class Minitest::Assertion

def location

def location
  bt  = Minitest.filter_backtrace self.backtrace
  idx = bt.rindex { |s| s.match? RE } || -1 # fall back to first item
  bt[idx+1].sub(/:in .*$/, "")
end