mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
mock cloudpickle module to allow readthedocs to work (#279)
This commit is contained in:
parent
f2c43bec87
commit
7565309d6e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ import shlex
|
|||
|
||||
# These 4 lines added to enable ReadTheDocs to work.
|
||||
import mock
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "typing", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "ray.internal.graph_pb2"]
|
||||
MOCK_MODULES = ["libraylib", "IPython", "numpy", "typing", "funcsigs", "subprocess32", "protobuf", "colorama", "graphviz", "cloudpickle", "ray.internal.graph_pb2"]
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = mock.Mock()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue