summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock_leak_test.py
diff options
context:
space:
mode:
authorDerek Mauro <dmauro@google.com>2021-12-22 21:00:44 (GMT)
committerCopybara-Service <copybara-worker@google.com>2021-12-22 21:01:24 (GMT)
commitc58f562fa2b287ab58a51b702f3c7295efe89904 (patch)
tree1179004595ed2b972b83dc62ec5adb467c5f7dd9 /googlemock/test/gmock_leak_test.py
parent71d4e2f7423274d178b446e94b88082559f2fa7a (diff)
downloadgoogletest-c58f562fa2b287ab58a51b702f3c7295efe89904.zip
googletest-c58f562fa2b287ab58a51b702f3c7295efe89904.tar.gz
googletest-c58f562fa2b287ab58a51b702f3c7295efe89904.tar.bz2
Makes the Python imports consistently use full paths from the repository root,
unifying the behavior between Bazel and CMake This fixes one of the CI failures on Windows PiperOrigin-RevId: 417872531 Change-Id: I156989323b7e6d4a4420f4f9691b078829db933d
Diffstat (limited to 'googlemock/test/gmock_leak_test.py')
-rwxr-xr-xgooglemock/test/gmock_leak_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock_leak_test.py b/googlemock/test/gmock_leak_test.py
index 7e4b1ee..4f41c7b 100755
--- a/googlemock/test/gmock_leak_test.py
+++ b/googlemock/test/gmock_leak_test.py
@@ -31,7 +31,7 @@
"""Tests that leaked mock objects can be caught be Google Mock."""
-import gmock_test_utils
+from googlemock.test import gmock_test_utils
PROGRAM_PATH = gmock_test_utils.GetTestExecutablePath('gmock_leak_test_')
TEST_WITH_EXPECT_CALL = [PROGRAM_PATH, '--gtest_filter=*ExpectCall*']