Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions run_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"exec": "cpp",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand All @@ -80,7 +79,6 @@
"exec": "cpp",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand All @@ -102,7 +100,6 @@
"exec": "cpp",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand All @@ -124,7 +121,6 @@
"exec": "cpp",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"list_fmt",
"likely_subtags",
Expand All @@ -146,7 +142,6 @@
"exec": "cpp",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand Down Expand Up @@ -216,7 +211,6 @@
"exec": "node",
"test_type": [
"collation",
"datetime_fmt",
"list_fmt",
"number_fmt",
"lang_names",
Expand All @@ -234,7 +228,6 @@
"exec": "dart_native",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"plural_rules",
Expand Down Expand Up @@ -274,7 +267,6 @@
"exec": "dart_web",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"plural_rules",
Expand All @@ -294,7 +286,6 @@
"exec": "dart_web",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"plural_rules",
Expand All @@ -314,7 +305,6 @@
"exec": "dart_web",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"plural_rules",
Expand All @@ -334,7 +324,6 @@
"exec": "node",
"test_type": [
"collation",
"datetime_fmt",
"list_fmt",
"number_fmt",
"lang_names",
Expand All @@ -356,7 +345,6 @@
"exec": "node",
"test_type": [
"collation",
"datetime_fmt",
"list_fmt",
"number_fmt",
"lang_names",
Expand All @@ -378,7 +366,6 @@
"exec": "node",
"test_type": [
"collation",
"datetime_fmt",
"list_fmt",
"number_fmt",
"likely_subtags",
Expand All @@ -400,7 +387,6 @@
"test_type": [
"collation",
"list_fmt",
"datetime_fmt",
"number_fmt",
"rdt_fmt",
"plural_rules"
Expand Down Expand Up @@ -451,7 +437,6 @@
"exec": "rust",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"likely_subtags",
Expand All @@ -473,7 +458,6 @@
"exec": "rust",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"likely_subtags",
Expand All @@ -495,7 +479,6 @@
"exec": "rust",
"test_type": [
"collation",
"datetime_fmt",
"number_fmt",
"lang_names",
"likely_subtags",
Expand Down Expand Up @@ -585,7 +568,6 @@
"exec": "icu4j",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand All @@ -607,7 +589,6 @@
"exec": "icu4j",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand All @@ -629,7 +610,6 @@
"exec": "icu4j",
"test_type": [
"collation",
"datetime_fmt",
"lang_names",
"likely_subtags",
"list_fmt",
Expand Down
6 changes: 3 additions & 3 deletions testgen/generators/collation.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def set_patterns(self):
]

# For detecting and converting \x, \u, and \U coded values
self.xcoding = re.compile("\\\\x([0-9A-Fa-f]{2})")
self.escaped_ucoding = re.compile("\\\\u([0-9A-Fa-f]{4})")
self.escaped_bigU_coding = re.compile("\\\\U([0-9A-Fa-f]{8})")
self.xcoding = re.compile(r"\\\\x([0-9A-Fa-f]{2})")
self.escaped_ucoding = re.compile(r"\\\\u([0-9A-Fa-f]{4})")
self.escaped_bigU_coding = re.compile(r"\\\\U([0-9A-Fa-f]{8})")

def process_test_data(self):
# Get each kind of collation tests and create a unified data set
Expand Down
4 changes: 2 additions & 2 deletions testgen/generators/number_fmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import re
from generators.base import DataGenerator

reblankline = re.compile("^\s*$")
reblankline = re.compile(r"^\s*$")

# Global constants
# Values to be formatted in number format tests
Expand Down Expand Up @@ -166,7 +166,7 @@ def parseNumberFmtTestData(self, rawtestdata):
# Source data: https://github.com/unicode-org/icu/blob/main/icu4c/source/test/testdata/dcfmtest.txt
def generateDcmlFmtTestDataObjects(self, rawtestdata, count=0):
original_count = count
recommentline = re.compile("^\s*#")
recommentline = re.compile(r"^\s*#")
test_list = rawtestdata.splitlines()

all_tests_list = []
Expand Down
2 changes: 1 addition & 1 deletion testgen/generators/plurals.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from generators.base import DataGenerator

reblankline = re.compile("^\s*$")
reblankline = re.compile(r"^\s*$")

class PluralGenerator(DataGenerator):
def plurals_descriptor(self):
Expand Down
Loading