diff --git a/gooey/tests/__init__.py b/gooey/tests/__init__.py index 4868a4c6..d6856807 100644 --- a/gooey/tests/__init__.py +++ b/gooey/tests/__init__.py @@ -55,7 +55,7 @@ def InitLocale(self): self._initial_locale = None locale.setlocale(locale.LC_ALL, 'C') else: - lang, enc = locale.getdefaultlocale() + lang, enc = locale.getlocale() self._initial_locale = wx.Locale(lang, lang[:2], lang) locale.setlocale(locale.LC_ALL, lang) @@ -75,4 +75,4 @@ def setUpModule(): def tearDownModule(): global app - app.Destroy() \ No newline at end of file + app.Destroy()