##// END OF EJS Templates
update unicode range for python 3.13
Matthias Bussonnier -
Show More
@@ -61,7 +61,7 b' def recompute_unicode_ranges():'
61 61 pstart, pstop = 0,0
62 62 for start, stop in rg:
63 63 lens.append(stop-start)
64 gap_lens.append((start - pstop, hex(pstop), hex(start), f'{round((start - pstop)/0xe01f0*100)}%'))
64 gap_lens.append((start - pstop, hex(pstop+1), hex(start), f'{round((start - pstop)/0xe01f0*100)}%'))
65 65 pstart, pstop = start, stop
66 66
67 67 return sorted(gap_lens)[-1]
@@ -99,7 +99,7 b' def test_unicode_range():'
99 99 assert len_exp == len_test, message
100 100
101 101 # fail if new unicode symbols have been added.
102 assert len_exp <= 143041, message
102 assert len_exp <= 143668, message
103 103
104 104
105 105 @contextmanager
General Comments 0
You need to be logged in to leave comments. Login now