>>> __import__('os.path', fromlist=[None])
<module 'ntpath' from 'C:\\Program Files\\Python36\\lib\\ntpath.py'>
>>> __import__('nose', fromlist=[None])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen importlib._bootstrap>", line 1014, in _handle_fromlist
TypeError: Item in ``from list'' must be str, not NoneType
Tested with Python 3.6