summaryrefslogtreecommitdiff
path: root/tests/test_ext_graphviz.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 13:12:13 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2016-12-15 17:15:49 +0900
commit9fc53cecf74fae33ac8509d34eea334ad4193d2b (patch)
tree330d9f4269b752216684512d90cf99ffae7f2d0f /tests/test_ext_graphviz.py
parent108491d49ea37f8e42ad32242167bc8a00f89cd8 (diff)
downloadsphinx-git-9fc53cecf74fae33ac8509d34eea334ad4193d2b.tar.gz
Reduce deprecation warnings (refs: #3192)
Diffstat (limited to 'tests/test_ext_graphviz.py')
-rw-r--r--tests/test_ext_graphviz.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_graphviz.py b/tests/test_ext_graphviz.py
index aa97f4135..7d464343f 100644
--- a/tests/test_ext_graphviz.py
+++ b/tests/test_ext_graphviz.py
@@ -26,7 +26,7 @@ def skip_if_graphviz_not_found(fn):
dot = subprocess.Popen([graphviz_dot, '-V'],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE) # show version
- dot.wait()
+ dot.communicate()
found = True
except OSError: # No such file or directory
pass