# File test/unit/assertions.rb, line 171
      def assert_nothing_raised(*args)
        _wrap_assertion do
          message = ""
          if (!args[-1].instance_of?(Class))
            message = args.pop
          end
          begin
            yield
          rescue Exception => thrown_exception
            if (args.empty? || args.include?(thrown_exception.class))
              full_message = build_message(message, thrown_exception) do |arg1|
                "Exception raised:\n" +
                arg1
              end
              flunk(full_message)
            else
              raise thrown_exception.class, thrown_exception.message, thrown_exception.backtrace
            end
          end
          nil
        end
      end