diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-06 16:49:29 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2013-07-06 16:49:29 +0200 |
commit | 28c74232f2ff0a50e6932c0e207b6f3f2ac33121 (patch) | |
tree | f4f402ef1daa8ed08b549579a5188c5c9173d96c /tests/test_core.py | |
parent | f64fad7dd2c9d584378cf0ad4cec649998f51c3d (diff) | |
download | babel-28c74232f2ff0a50e6932c0e207b6f3f2ac33121.tar.gz |
Some small fixes from #19
Diffstat (limited to 'tests/test_core.py')
-rw-r--r-- | tests/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py index 9341ca8..224ebc8 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -233,7 +233,7 @@ def test_parse_locale(): with pytest.raises(ValueError) as excinfo: core.parse_locale('not_a_LOCALE_String') - assert (excinfo.value.message == + assert (excinfo.value.args[0] == "'not_a_LOCALE_String' is not a valid locale identifier") assert core.parse_locale('it_IT@euro') == ('it', 'IT', None, None) |