Remove docs mocks for msgpack and psutils

Also make docs build py3 compat
This commit is contained in:
Mike Place 2016-08-24 22:55:11 +09:00
parent 962e493304
commit fdbf01d5ad
2 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,7 @@ def write_urls_index(app, exc):
inventory = os.path.join(app.builder.outdir, 'objects.inv')
objects = sphinx.ext.intersphinx.fetch_inventory(app, DOCS_URL, inventory)
with open(os.path.join(app.builder.outdir, 'shorturls.json'), 'wb') as f:
with open(os.path.join(app.builder.outdir, 'shorturls.json'), 'w') as f:
json.dump(objects, f)
def setup(app):

View file

@ -56,7 +56,6 @@ MOCK_MODULES = [
'Crypto.Signature',
'Crypto.Signature.PKCS1_v1_5',
'M2Crypto',
'msgpack',
'yaml',
'yaml.constructor',
'yaml.nodes',
@ -112,7 +111,6 @@ MOCK_MODULES = [
'MySQLdb',
'MySQLdb.cursors',
'nagios_json',
'psutil',
'pycassa',
'pymongo',
'rabbitmq_server',