from .lib.csympy_wrapper import (Symbol, Integer, sympify, SympifyError, Add,
        Mul, Pow, sin, cos, sqrt, function_symbol, I)
from .utilities import var

from .lib.csympy_wrapper import (Symbol, Integer, sympify, SympifyError, Add,
        Mul, Pow, sin, cos, sqrt, function_symbol, I)
from .utilities import var

def test():
    import pytest, os
    return not pytest.cmdline.main(
        [os.path.dirname(os.path.abspath(__file__))])

Add test function so tests can be run from within python terminal
Add test function so tests can be run from within python terminal

import csympy
csympy.test()
