From d9d58bcc9382db18e9077e9111049546f9386ced Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 17:17:37 +0100 Subject: [PATCH] [debug] print sys.path --- test/test_compilation/test_compilation.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 70c76b7c..a6952bdc 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -101,6 +101,13 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): if steps: command.extend(['--steps', steps]) + syspath = subprocess.check_output([sys.executable, "-c", 'import sys;print(sys.path)']) + print("###") + print(sys.path) + print("#####") + print(syspath) + print("#######") + try: subprocess.check_output( command,