python - Metaclass error when extending scipy.stats.rv_continuous mocked for Read the Docs -


in python project, i’m extending scipy.stats.rv_continuous this:

class genlogisticgen(lmomdistrmixin, scipy.stats.rv_continuous):     ... 

i’m trying build documentation on read docs , getting build errors:

class genlogisticgen(lmomdistrmixin, scipy.stats.rv_continuous): typeerror: metaclass conflict: metaclass of derived class must (non-strict) subclass of metaclasses of bases 

note i’m mocking out scipy.stats module per read docs faq.

i guess mocking out base class goes wrong. what?


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -