Changeset 11034:2605ad9d7000 in orange for docs/conf.py


Ignore:
Timestamp:
11/14/12 16:43:44 (17 months ago)
Author:
Miha Stajdohar <miha.stajdohar@…>
Branch:
default
Message:

Extended Mock.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/conf.py

    r11033 r11034  
    1515 
    1616class Mock(object): 
     17    __all__ = [] 
     18 
    1719    def __init__(self, *args, **kwargs): 
    1820        pass 
     
    3234            return Mock() 
    3335 
    34 MOCK_MODULES = ['orange', 'orangeom', 'core', 'scipy', 'scipy.stats', 'scipy.sparse', 'scipy.optimize', 'scipy.linalg'] 
     36MOCK_MODULES = ['orange', 'orangeom', 'scipy', 'scipy.stats', 'scipy.sparse', 'scipy.optimize', 'scipy.linalg'] 
    3537for mod_name in MOCK_MODULES: 
    3638    sys.modules[mod_name] = Mock() 
Note: See TracChangeset for help on using the changeset viewer.