aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authoreustas <eustas.ru@gmail.com>2016-06-17 20:24:24 +0200
committerGitHub <noreply@github.com>2016-06-17 20:24:24 +0200
commit81054a4667ca8bc819088f21314a9a0a22ca4f65 (patch)
treefb0fdc7301f6ddeabd4e2272d03d27bd18d3f868 /python
parent1bcdb45bad1554fde7e110162c63a13b7f44e47b (diff)
downloadbrotli-81054a4667ca8bc819088f21314a9a0a22ca4f65.zip
brotli-81054a4667ca8bc819088f21314a9a0a22ca4f65.tar.gz
brotli-81054a4667ca8bc819088f21314a9a0a22ca4f65.tar.bz2
Restore platform suffix
Diffstat (limited to 'python')
-rw-r--r--python/tests/test_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/test_utils.py b/python/tests/test_utils.py
index efe24b2..733f7b5 100644
--- a/python/tests/test_utils.py
+++ b/python/tests/test_utils.py
@@ -25,7 +25,8 @@ platform_lib_name = "lib.{platform}-{version[0]}.{version[1]}".format(
version=sys.version_info)
# by default, distutils' build base is in the same location as setup.py
-build_lib = os.path.abspath(os.path.join("..", "..", "bin"))
+build_base = os.path.abspath(os.path.join("..", "..", "bin"))
+build_lib = os.path.join(build_base, platform_lib_name)
# prepend build/lib to PYTHONPATH environment variable
TEST_ENV = os.environ.copy()