Move sagemath doctests to standard Python doctests
In order to test on standalone Python we should move the SageMath style doctests to Python style doctests. The tests that require SageMath can be marked with a doctest directives # doctest: +SAGEMATH
Edited by Vincent Delecroix