ai-content-maker/.venv/Lib/site-packages/sympy/utilities/tests/test_source.py

12 lines
289 B
Python

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'