spikeinterface icon indicating copy to clipboard operation
spikeinterface copied to clipboard

test class inheritance

Open bendichter opened this issue 3 years ago • 1 comments

https://github.com/SpikeInterface/spikeinterface/blob/ae679aff788a6dd4d8e7783e1f72ec7e550c1bf9/spikeinterface/extractors/tests/common_tests.py#L10

@samuelgarcia Why not have this class inherit from unittest.TestCase? Then you can avoid multiple inheritance in descendant classes.

bendichter avatar Jun 07 '22 14:06 bendichter

I don't remember. I think because after we use plain function in pytest mode. I did this 14 month ago.

samuelgarcia avatar Jun 14 '22 14:06 samuelgarcia