diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-08-08 12:19:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 12:19:04 -0700 |
commit | 11f5a2740aa8a55d620fba6957e53ad08721cf54 (patch) | |
tree | 04f982e6158e57f68529ca47e37ec377574647dd /googlemock/test/gmock_test_utils.py | |
parent | 008e54c1dd407b6edd680fccf78cd194365e0507 (diff) | |
parent | 66bd580b5bc054522f7fab13463a47aa156a2d4b (diff) | |
download | googletest-11f5a2740aa8a55d620fba6957e53ad08721cf54.tar.gz googletest-11f5a2740aa8a55d620fba6957e53ad08721cf54.tar.bz2 googletest-11f5a2740aa8a55d620fba6957e53ad08721cf54.zip |
Merge branch 'master' into cross-testing-patch-1
Diffstat (limited to 'googlemock/test/gmock_test_utils.py')
-rwxr-xr-x | googlemock/test/gmock_test_utils.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/googlemock/test/gmock_test_utils.py b/googlemock/test/gmock_test_utils.py index 20e3d3d4..92b1ac14 100755 --- a/googlemock/test/gmock_test_utils.py +++ b/googlemock/test/gmock_test_utils.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python -# # Copyright 2006, Google Inc. # All rights reserved. # @@ -36,19 +34,19 @@ __author__ = 'wan@google.com (Zhanyong Wan)' import os import sys - # Determines path to gtest_test_utils and imports it. SCRIPT_DIR = os.path.dirname(__file__) or '.' # isdir resolves symbolic links. -gtest_tests_util_dir = os.path.join(SCRIPT_DIR, '../gtest/test') +gtest_tests_util_dir = os.path.join(SCRIPT_DIR, '../../googletest/test') if os.path.isdir(gtest_tests_util_dir): GTEST_TESTS_UTIL_DIR = gtest_tests_util_dir else: - GTEST_TESTS_UTIL_DIR = os.path.join(SCRIPT_DIR, '../../gtest/test') - + GTEST_TESTS_UTIL_DIR = os.path.join(SCRIPT_DIR, '../../googletest/test') sys.path.append(GTEST_TESTS_UTIL_DIR) -import gtest_test_utils # pylint: disable-msg=C6204 + +# pylint: disable=C6204 +import gtest_test_utils def GetSourceDir(): |