mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-06 08:56:51 -04:00
d46dfd2e45
Fixed very old issue where the full extent of SQLAlchemy modules, including ``sqlalchemy.testing.fixtures``, could not be imported outside of a pytest run. This suits inspection utilities such as ``pkgutil`` that attempt to import all installed modules in all packages. Fixes: #10321 Change-Id: Ic2247c59b98f462036ad0d734aef9a96f290d778
6 lines
111 B
Python
6 lines
111 B
Python
import pkgutil
|
|
|
|
import sqlalchemy
|
|
|
|
list(pkgutil.walk_packages(sqlalchemy.__path__, sqlalchemy.__name__ + "."))
|