From ee0d8647d8537b9de2aeafeba4acd74910f98a4f Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 24 Jan 2017 20:59:15 -0500 Subject: Add support for Python 2.6 in docs conf --- docs/conf.py | 3 +++ tests/requirements.txt | 1 + 2 files changed, 4 insertions(+) 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" -- cgit v1.2.1