~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_globbing.py

  • Committer: Gary van der Merwe
  • Date: 2010-08-02 19:56:52 UTC
  • mfrom: (5050.3.18 2.2)
  • mto: (5050.3.19 2.2)
  • mto: This revision was merged to the branch mainline in revision 5371.
  • Revision ID: garyvdm@gmail.com-20100802195652-o1ppjemhwrr98i61
MergeĀ lp:bzr/2.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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.) 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>
 
58
            # non-latin scripts (arabic, indic, etc.) and subscript/superscript
 
59
            # digits, but neither roman numerals nor vulgar fractions.
62
60
            (u'[[:digit:]]',
63
 
             [u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21'],
 
61
             [u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21', u'\xb9'],
64
62
             [u'T', u'q', u' ', u'\u8336', u'.']),
65
63
            (u'[^[:digit:]]',
66
64
             [u'T', u'q', u' ', u'\u8336', u'.'],
67
 
             [u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21']),
 
65
             [u'0', u'5', u'\u0663', u'\u06f9', u'\u0f21', u'\xb9']),
68
66
            ])
69
67
 
70
68
    def test_char_group_space(self):