|
from sympy.utilities.source import get_mod_func, get_class
|
|
|
|
|
|
def test_get_mod_func():
|
|
assert get_mod_func(
|
|
'sympy.core.basic.Basic') == ('sympy.core.basic', 'Basic')
|
|
|
|
|
|
def test_get_class():
|
|
_basic = get_class('sympy.core.basic.Basic')
|
|
assert _basic.__name__ == 'Basic'
|