You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
289 B
12 lines
289 B
5 months ago
|
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'
|