| Index: chrome/test/functional/media/pyauto_media.py
|
| diff --git a/chrome/test/functional/media/pyauto_media.py b/chrome/test/functional/media/pyauto_media.py
|
| index 2a2853766c7100500d18eebd009f77341de54f79..952330b20a147eece788a4e078e081449c5fc252 100755
|
| --- a/chrome/test/functional/media/pyauto_media.py
|
| +++ b/chrome/test/functional/media/pyauto_media.py
|
| @@ -1,4 +1,4 @@
|
| -# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +# Copyright (c) 2012 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.
|
|
|
| @@ -19,9 +19,6 @@ test must include this snippet:
|
|
|
| import os
|
| import sys
|
| -import tempfile
|
| -
|
| -from media_test_env_names import MediaTestEnvNames
|
|
|
|
|
| def _SetupPaths():
|
| @@ -36,18 +33,6 @@ def _SetupPaths():
|
| media_dir, os.pardir, os.pardir, os.pardir, os.pardir,
|
| 'third_party', 'psutil')))
|
|
|
| - # Setting PYTHONPATH for reference build.
|
| - # TODO(dalecurtis): Don't use env variables, each test can process a command
|
| - # line before passing off control to PyAuto.
|
| - if os.getenv(MediaTestEnvNames.REFERENCE_BUILD_ENV_NAME):
|
| - reference_build_dir = os.getenv(
|
| - MediaTestEnvNames.REFERENCE_BUILD_DIR_ENV_NAME,
|
| - # TODO(imasaki): Change the following default value.
|
| - # Default directory is just for testing so the correct directory
|
| - # must be set in the build script.
|
| - os.path.join(tempfile.gettempdir(), 'chrome-media-test'))
|
| - sys.path.insert(0, reference_build_dir)
|
| -
|
|
|
| _SetupPaths()
|
|
|
|
|