diff options
author | Alex Nicksay <nicksay@google.com> | 2017-08-08 04:25:39 -0400 |
---|---|---|
committer | Eugene Kliuchnikov <eustas@google.com> | 2017-08-08 10:25:39 +0200 |
commit | 019091f994c581bbadc3995a97a51488616d2f59 (patch) | |
tree | 303bed078b77746c762ee3322ed086ff792f83aa /python/tests/_test_utils.py | |
parent | 3917011ddb074a430fc7501517fe3cb551fb3385 (diff) | |
download | brotli-019091f994c581bbadc3995a97a51488616d2f59.zip brotli-019091f994c581bbadc3995a97a51488616d2f59.tar.gz brotli-019091f994c581bbadc3995a97a51488616d2f59.tar.bz2 |
Python: Update bro_test to reference script directly (#582)
Diffstat (limited to 'python/tests/_test_utils.py')
-rw-r--r-- | python/tests/_test_utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/_test_utils.py b/python/tests/_test_utils.py index e38edd3..104e654 100644 --- a/python/tests/_test_utils.py +++ b/python/tests/_test_utils.py @@ -13,9 +13,9 @@ project_dir = os.path.abspath(os.path.join(__file__, '..', '..', '..')) src_dir = os.path.join(project_dir, 'python') test_dir = os.path.join(project_dir, 'tests') -PYTHON = sys.executable or 'python' - -BRO = os.path.join(src_dir, 'bro.py') +python_exe = sys.executable or 'python' +bro_path = os.path.join(src_dir, 'bro.py') +BRO_ARGS = [python_exe, bro_path] # Get the platform/version-specific build folder. # By default, the distutils build base is in the same location as setup.py. |