Fix logger test when ipython is not installed.

Tests should not assume that exception_info_pretty in result objects
will be a string.
Merge pull request #142 from baris/bmetin_fix_logger_test

Fix logger test when ipython is not installed.