Skip to content

Commit b7f8a5a

Browse files
authored
Merge branch 'adafruit:main' into sunton_esp32_8048S050
2 parents 408e291 + 1ab26ba commit b7f8a5a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/run-tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,10 @@ def run_one_test(test_file):
829829
"PATH": os.environ["PATH"],
830830
"LANG": "en_US.UTF-8",
831831
}
832+
# CIRCUITPY-CHANGE: --keep-path applies to PYTHONPATH as well
833+
if args.keep_path and os.getenv("PYTHONPATH"):
834+
e["PYTHONPATH"] += ":" + os.getenv("PYTHONPATH")
835+
832836
# run CPython to work out expected output
833837
try:
834838
output_expected = subprocess.check_output(

0 commit comments

Comments
 (0)