Browse Source

Fix converage tests to ignore Unicode 8.0 characters.

Roozbeh Pournader 10 years ago
parent
commit
99700cf7a4
2 changed files with 5 additions and 1 deletions
  1. 1 1
      res/char_requirements.tsv
  2. 4 0
      scripts/coverage_test.py

+ 1 - 1
res/char_requirements.tsv

@@ -40,7 +40,7 @@ Supplemental Punctuation 	2E00..2E7F	69		69	1
 Cyrillic Extended-B	A640..A69F	95		95	1	
 Modifier Tone Letters 	A700..A71F	32		32	1	
 Latin Extended-D 	A720..A7FF	152		152	1	
-Latin Extended-E	AB30..ABBF	50		50	1	
+Latin Extended-E	AB30..AB6F	50		50	1	
 Alphabetic Presentation Forms 	FB00..FB4F	58	4	3	0	FB00..FB06
 Combining Half Marks 	FE20..FE2F	14		14	1	
 Specials 	FFF0..FFFF	5	2	0	0	

+ 4 - 0
scripts/coverage_test.py

@@ -132,6 +132,10 @@ def main():
                                  full_coverage_required,
                                  exceptions))
 
+    # Skip Unicode 8.0 characters
+    required_set = {ch for ch in required_set
+                    if float(unicode_data.age(ch)) <= 7.0}
+
     # Skip ASCII and C1 controls
     required_set -= set(range(0, 0x20) + range(0x7F, 0xA0))