1 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 """A library for cross-platform browser tests.""" 6 7 import sys 8 9 # Ensure Python >= 2.7. 10 if sys.version_info < (2, 7): 11 print >> sys.stderr, 'Need Python 2.7 or greater.' 12 sys.exit(-1) 13 14 from telemetry.util import global_hooks 15 global_hooks.InstallHooks() 16