# File lib/spec/runner/formatter/base_text_formatter.rb, line 118
        def output_to_tty?
          begin
            @output.tty? || ENV.has_key?("AUTOTEST")
          rescue NoMethodError
            false
          end
        end