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