test pretty print when __module__ is None
allow class.__module__ to be None

closes #3376
Merge pull request #3377 from minrk/nonemod

allow class.__module__ to be None