aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_test_utils.py
diff options
context:
space:
mode:
authorTanzinul Islam <t_17_7@hotmail.com>2018-03-05 09:02:59 +0000
committerTanzinul Islam <t_17_7@hotmail.com>2018-03-05 09:02:59 +0000
commit6d089311ca2a6fd83dff9ed68c1d3eb00c1443d0 (patch)
treec6f8f6067f957eb6d49656278f79c93353bb039c /googlemock/test/gmock_test_utils.py
parent555e6e79485151cf8c8ada55d57d9ed872591dc5 (diff)
parenta7a7f51d355081a7f1e8ab295d5df5f9bb4612c8 (diff)
downloadgoogletest-6d089311ca2a6fd83dff9ed68c1d3eb00c1443d0.tar.gz
googletest-6d089311ca2a6fd83dff9ed68c1d3eb00c1443d0.tar.bz2
googletest-6d089311ca2a6fd83dff9ed68c1d3eb00c1443d0.zip
Merge branch 'fix_death_test_child_mingw_wer_issue1116' of https://github.com/tanzislam/googletest into fix_death_test_child_mingw_wer_issue1116
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():