Merge "Run docs tox env under py3"

This commit is contained in:
Zuul 2019-04-02 19:24:37 +00:00 committed by Gerrit Code Review
commit 161366bd0f
2 changed files with 2 additions and 1 deletions

View File

@ -430,6 +430,7 @@ class SwiftHttpProtocol(wsgi.HttpProtocol):
# for py3:
def get_default_type(self):
'''If the client didn't provide a content type, leave it blank.'''
return ''

View File

@ -142,7 +142,7 @@ setenv = SWIFT_TEST_IN_PROCESS=1
commands = {posargs}
[testenv:docs]
basepython = python2.7
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html