diff --git a/gramps/gen/datehandler/test/datehandler_test.py b/gramps/gen/datehandler/test/datehandler_test.py index eed7790a3..e3c97d646 100644 --- a/gramps/gen/datehandler/test/datehandler_test.py +++ b/gramps/gen/datehandler/test/datehandler_test.py @@ -34,8 +34,16 @@ Based on the Check Localized Date Displayer and Parser tool. # standard python modules # #------------------------------------------------------------------------- +from __future__ import unicode_literals, division import unittest +import sys +if '-v' in sys.argv or '--verbose' in sys.argv: + import logging + logging.getLogger('').addHandler(logging.StreamHandler()) + log = logging.getLogger(".Date") + log.setLevel(logging.DEBUG) + #------------------------------------------------------------------------- # # GRAMPS modules