Merge branch 'main' into avm99963-monorail
Merged commit 4137ed7879acadbf891e8c471108acb874dae886.
GitOrigin-RevId: b6100ffc5b1da355a35f37b13fcaaf746ee8b307
diff --git a/.expect_tests_pretest.py b/.expect_tests_pretest.py
index 75456cd..29dea43 100644
--- a/.expect_tests_pretest.py
+++ b/.expect_tests_pretest.py
@@ -6,6 +6,11 @@
import os
import sys
+lib_path = os.path.join(
+ os.path.dirname(os.path.realpath(pretest_filename)), 'lib')
+sys.path.insert(0, lib_path)
+import google
+google.__path__.insert(0, os.path.join(lib_path, 'google'))
def _fix_sys_path_for_appengine(pretest_filename):