.next() has been renamed to next() in Python3. Due to this issue the generator functions / tests could not be executed in Python3.5.
Also the assertRaises test required a lambda function to have the next statement executed to be able to raise the exception.
.next() has been renamed to next() in Python3. Due to this issue the generator functions / tests could not be executed in Python3.5. Also the assertRaises test required a lambda function to have the next statement executed to be able to raise the exception.