class Gem::TestCase

def self.cert_path cert_name

def self.cert_path cert_name
  if 32 == (Time.at(2**32) rescue 32) then
    cert_file =
      File.expand_path "../../../test/rubygems/#{cert_name}_cert_32.pem",
                       __FILE__
    return cert_file if File.exist? cert_file
  end
  File.expand_path "../../../test/rubygems/#{cert_name}_cert.pem", __FILE__
end