Disable Python stdio buffering when spawning processes in tests.

This commit is contained in:
Pavel Minaev 2019-09-30 16:54:03 -07:00 committed by Pavel Minaev
parent f60cc99c8f
commit ca56bf70ba

View file

@ -288,6 +288,7 @@ class Session(object):
env.prepend_to("PYTHONPATH", python_path)
env.update(base_env)
env["PYTHONUNBUFFERED"] = "1"
env["PTVSD_TEST_SESSION_ID"] = str(self.id)
env.prepend_to("PYTHONPATH", DEBUGGEE_PYTHONPATH.strpath)