55
55
def test_char_group_digit(self):
56
56
self.assertMatchBasenameAndFullpath([
57
57
# The definition of digit this uses includes arabic digits from
58
# non-latin scripts (arabic, indic, etc.) and subscript/superscript
59
# digits, but neither roman numerals nor vulgar fractions.
58
# non-latin scripts (arabic, indic, etc.) but neither roman
59
# numerals nor vulgar fractions. Some characters such as
60
# subscript/superscript digits may or may not match depending on
61
# the Python version used, see: <http://bugs.python.org/issue6561>
61
[u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21', u'\xb9'],
63
[u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21'],
62
64
[u'T', u'q', u' ', u'\u8336', u'.']),
64
66
[u'T', u'q', u' ', u'\u8336', u'.'],
65
[u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21', u'\xb9']),
67
[u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21']),
68
70
def test_char_group_space(self):