summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-04-16 20:23:56 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-04-16 20:24:15 -0700
commit99700cf7a4d93bcd9f359f51b5a9538ea5865cf9 (patch)
tree97e9de4ff2fc100fa98c63aad8ed09dd546ffa5d /scripts
parent364b2c168d7dfe46cf394bdfe98b37b34f9133fc (diff)
Fix converage tests to ignore Unicode 8.0 characters.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/coverage_test.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/coverage_test.py b/scripts/coverage_test.py
index bd4275f..3a1a3e0 100755
--- a/scripts/coverage_test.py
+++ b/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))