mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
-- enabled some temporarily disabled RE tests
-- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests
This commit is contained in:
parent
2643b55a77
commit
8e6d571a7c
3 changed files with 39 additions and 6 deletions
|
|
@ -587,4 +587,10 @@ xyzabc
|
|||
('\t\n\v\r\f\a\g', '\t\n\v\r\f\ag', SUCCEED, 'found', '\t\n\v\r\f\ag'),
|
||||
(r'\t\n\v\r\f\a', '\t\n\v\r\f\a', SUCCEED, 'found', chr(9)+chr(10)+chr(11)+chr(13)+chr(12)+chr(7)),
|
||||
(r'[\t][\n][\v][\r][\f][\b]', '\t\n\v\r\f\b', SUCCEED, 'found', '\t\n\v\r\f\b'),
|
||||
|
||||
# additional regression tests (1.6 and later)
|
||||
|
||||
# xmllib problem
|
||||
(r'(([a-z]+):)?([a-z]+)$', 'smil', SUCCEED, 'g1+"-"+g2+"-"+g3', 'None-None-smil'),
|
||||
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue