Support coverage for Docker based interpreter

This commit is contained in:
Dmitry Trofimov
2015-10-05 15:42:56 +02:00
parent 2004a19942
commit a7201d48b8
3 changed files with 10 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ else:
coverage_file = os.getenv('PYCHARM_COVERAGE_FILE')
run_cov = os.getenv('PYCHARM_RUN_COVERAGE')
if os.getenv('JETBRAINS_REMOTE_RUN'):
if os.getenv('CREATE_TEMP_COVERAGE_FILE'):
line = 'LOG: PyCharm: File mapping:%s\t%s\n'
import tempfile
(h, new_cov_file) = tempfile.mkstemp(prefix='pycharm-coverage')