aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'rpython/rlib/unicodedata/test/test_unicodedata.py')
-rw-r--r--rpython/rlib/unicodedata/test/test_unicodedata.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/rpython/rlib/unicodedata/test/test_unicodedata.py b/rpython/rlib/unicodedata/test/test_unicodedata.py
index c5065b7817..f7470de2dc 100644
--- a/rpython/rlib/unicodedata/test/test_unicodedata.py
+++ b/rpython/rlib/unicodedata/test/test_unicodedata.py
@@ -171,3 +171,10 @@ class TestUnicodeData1100(object):
unicodedb_11_0_0])
def test_turkish_i(db):
assert db.tolower_full(0x0130) == [0x69, 0x307]
+
+@pytest.mark.parametrize('db', [
+ unicodedb_3_2_0, unicodedb_5_2_0, unicodedb_6_0_0, unicodedb_6_2_0, unicodedb_8_0_0,
+ unicodedb_11_0_0])
+def test_turkish_i(db):
+ assert db.tolower(ord('A')) == ord('a')
+ assert ord('A') not in db._toupper