aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_locale.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_locale.py')
-rw-r--r--tests/test_locale.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_locale.py b/tests/test_locale.py
index d24fdfb..8ffa112 100644
--- a/tests/test_locale.py
+++ b/tests/test_locale.py
@@ -214,8 +214,8 @@ class TestLocaleBorg(unittest.TestCase):
def test_services_reject_dumb_wrong_call(self):
lang_11, loc_11 = LocaleSupportInTesting.langlocales['default']
nikola.utils.LocaleBorg.reset()
+ self.assertRaises(Exception, nikola.utils.LocaleBorg)
self.assertRaises(Exception, nikola.utils.LocaleBorg.set_locale, lang_11)
- self.assertRaises(Exception, getattr, nikola.utils.LocaleBorg, 'current_lang')
def test_set_locale_raises_on_invalid_lang(self):
lang_11, loc_11 = LocaleSupportInTesting.langlocales['default']