From f788e593185ef3bcf460c330ac81bfe200bd8aba Mon Sep 17 00:00:00 2001 From: c-holtermann Date: Tue, 28 Apr 2020 20:57:58 +0200 Subject: [PATCH] remove debug stuff (temporarily) --- bindings/python/tests/test_gettext.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bindings/python/tests/test_gettext.py b/bindings/python/tests/test_gettext.py index 7a81d5e64e..fd56fa5a37 100644 --- a/bindings/python/tests/test_gettext.py +++ b/bindings/python/tests/test_gettext.py @@ -4,7 +4,7 @@ # @author Christoph Holtermann from unittest import TestCase, main -import gettext +# import gettext import gnucash from gnucash import _sw_core_utils @@ -18,11 +18,11 @@ class TestGettext(TestCase): def test_get_localedir(self): _localedir = _sw_core_utils.gnc_path_get_localedir() - def test_translation(self): - import inspect - import locale - raise MyException({'_(""): ':_(""), '_sw_core_utils.gnc_path_get_localedir(): ':_sw_core_utils.gnc_path_get_localedir(),'_.__doc__': _.__doc__, 'inspect.getsource(_): ': inspect.getsource(_), '_("Welcome to GnuCash")':_("Welcome to GnuCash"), 'locale.getlocale(): ': locale.getlocale()}) - self.assertTrue("Project-Id-Version: GnuCash" in _("")) + #def test_translation(self): + # import inspect + # import locale + # raise MyException({'_(""): ':_(""), '_sw_core_utils.gnc_path_get_localedir(): ':_sw_core_utils.gnc_path_get_localedir(),'_.__doc__': _.__doc__, 'inspect.getsource(_): ': inspect.getsource(_), '_("Welcome to GnuCash")':_("Welcome to GnuCash"), 'locale.getlocale(): ': locale.getlocale()}) + # self.assertTrue("Project-Id-Version: GnuCash" in _("")) if __name__ == '__main__': main()