Quick idea to understand what modules get imported.
Example:
>>> import importlog
# Run a bunch of code
>>> import shapely.geometry
>>> p = shapely.geometry.Point(0.0, 0.0)
>>> b = p.buffer(1.0)
# See which modules were imported.
>>> importlog.modules
{'array',
'ctypes',
'difflib',
'future_builtins',
'numbers',
'numpy',
'shapely',
'unittest'}
I wrote a lot of the tests before I got clued in to nose and py.test. It's a standard lib module.