This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """This file performs some basic interfacing in Python 2: | |
| 1. Defining the methods that have to be overriden with the ABC module | |
| 2. Defining an input and output signature for those methods | |
| 3. Testing the validity of different implementations via unittest | |
| Note the following: | |
| !! In order to check the input/output signatures, the overriden methods have to be run once | |
| at construction, which may be undesirable (usually this kind of interfacing happens within | |
| a protocol that can take care of that). | |
| """ |
NewerOlder