Browse Source

Print some info about the windows env

pull/142/head
Oliverpool 9 years ago
parent
commit
5f878aaca1
  1. 5
      test/test_compilation/test_compilation.py

5
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])

Loading…
Cancel
Save