diff --git a/docs/conf.py b/docs/conf.py index 8639b2c..7402c7a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,6 +5,9 @@ import os import sys import subprocess +if 'check_output' not in dir(subprocess): + import subprocess32 as subprocess + extensions = [ 'sphinx.ext.autodoc', 'rst.linker', diff --git a/tests/requirements.txt b/tests/requirements.txt index 70bc02f..ab48405 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -1 +1,2 @@ pytest >= 2.8 +subprocess32; python_version=="2.6"