Skip to content

Commit

Permalink
Add cached_property to mock modules (#23, #26)
Browse files Browse the repository at this point in the history
  • Loading branch information
a5kin committed Dec 3, 2017
1 parent 23af626 commit 54732db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ def __getattr__(cls, name):


MOCK_MODULES = [
'numpy', 'pycuda', 'pycuda.autoinit', 'pycuda.compiler', 'pycuda.gpuarray'
'numpy', 'pycuda', 'pycuda.autoinit', 'pycuda.compiler', 'pycuda.gpuarray',
'cached_property',
]
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

0 comments on commit 54732db

Please sign in to comment.