mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-19 15:25:31 +00:00
Fix environment call for failing tests
This commit is contained in:
parent
44d6211a9e
commit
9da28aa6f3
@ -32,7 +32,8 @@ class DotNetSphinxMapper(SphinxMapperBase):
|
|||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
env=dict((key, os.environ[key])
|
env=dict((key, os.environ[key])
|
||||||
for key in ['PATH', 'DNX_PATH', 'HOME']))
|
for key in ['PATH', 'DNX_PATH', 'HOME']
|
||||||
|
if key in os.environ))
|
||||||
_, error_output = proc.communicate()
|
_, error_output = proc.communicate()
|
||||||
if error_output:
|
if error_output:
|
||||||
self.app.warn(error_output)
|
self.app.warn(error_output)
|
||||||
|
Loading…
Reference in New Issue
Block a user