Traktor/myenv/Lib/site-packages/sympy/utilities/tests/test_source.py
2024-05-26 05:12:46 +02:00

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'