summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2017-01-24 20:59:15 -0500
committerJason R. Coombs <jaraco@jaraco.com>2017-01-24 20:59:15 -0500
commitee0d8647d8537b9de2aeafeba4acd74910f98a4f (patch)
tree5dec797ee3bdc2940ad2430e0cd038f6bd186993
parent21a4e86e6fef7fba92afb4bcb49d79859d0cb2b2 (diff)
downloadpytest-runner-skeleton.tar.gz
Add support for Python 2.6 in docs confskeleton
-rw-r--r--docs/conf.py3
-rw-r--r--tests/requirements.txt1
2 files changed, 4 insertions, 0 deletions
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"