From 5f878aaca1b3f306f54ba7b65ff87f270cfcbd46 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Thu, 29 Oct 2015 16:35:32 +0100 Subject: [PATCH] Print some info about the windows env --- test/test_compilation/test_compilation.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_compilation/test_compilation.py b/test/test_compilation/test_compilation.py index 11bb197b..07c96a60 100644 --- a/test/test_compilation/test_compilation.py +++ b/test/test_compilation/test_compilation.py @@ -97,6 +97,11 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): def compile_songbook(songbook, steps=None): """Compile songbook, and return the command return code.""" command = ['python', '-m', 'patacrep.songbook', songbook, '-v'] + #Windows debugging + python_path = subprocess.check_output(['where', 'python']) + print(python_path) + python_version = subprocess.check_output(['python', '-V']) + print(python_version) if steps: command.extend(['--steps', steps])