Abins Instrument: use NotImplementedError for method stubs
Abins uses a base class for Instruments, which defines a couple of methods returning None. None is not the right response if these methods were not adapted to a child class; use NotImplementedError to mark these more clearly.
Showing
- scripts/AbinsModules/Instruments/Instrument.py 3 additions, 3 deletionsscripts/AbinsModules/Instruments/Instrument.py
- scripts/test/Abins/AbinsInstrumentTest.py 25 additions, 0 deletionsscripts/test/Abins/AbinsInstrumentTest.py
- scripts/test/Abins/CMakeLists.txt 1 addition, 0 deletionsscripts/test/Abins/CMakeLists.txt
Loading
Please register or sign in to comment