aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_test_utils.py
diff options
context:
space:
mode:
authorConor Burgess <Burgess.Conor@gmail.com>2018-02-12 17:35:07 +0000
committerGitHub <noreply@github.com>2018-02-12 17:35:07 +0000
commitf11a8f9131584cf4009eca8af8a66e920c1b7391 (patch)
tree06cf7b6488c5980a90bcc355f186047f8b5a16c0 /googlemock/test/gmock_test_utils.py
parent27bb844e5c31a0a67b7b4864ffb2b80ae2803882 (diff)
parent15392f1a38fa0b8c3f13a9732e94b209069efa1c (diff)
downloadgoogletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.tar.gz
googletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.tar.bz2
googletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.zip
Merge branch 'master' into fix-argc
Diffstat (limited to 'googlemock/test/gmock_test_utils.py')
-rwxr-xr-xgooglemock/test/gmock_test_utils.py12
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..b5130001 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():