summaryrefslogtreecommitdiffstats
path: root/Lib/test/re_tests.py
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2000-08-08 17:06:53 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2000-08-08 17:06:53 (GMT)
commit8e6d571a7c7853a98e032859e79a624528ec8842 (patch)
treef1ecf0be48c8419053dfdf3ec1279a119858c017 /Lib/test/re_tests.py
parent2643b55a775b3a5c6601886e6a8c41513176eef6 (diff)
downloadcpython-8e6d571a7c7853a98e032859e79a624528ec8842.zip
cpython-8e6d571a7c7853a98e032859e79a624528ec8842.tar.gz
cpython-8e6d571a7c7853a98e032859e79a624528ec8842.tar.bz2
-- enabled some temporarily disabled RE tests
-- added basic unicode tests to test_re -- added test case for Sjoerd's xmllib problem to re_tests
Diffstat (limited to 'Lib/test/re_tests.py')
-rwxr-xr-xLib/test/re_tests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/re_tests.py b/Lib/test/re_tests.py
index adc3a7d..14a2cee 100755
--- a/Lib/test/re_tests.py
+++ b/Lib/test/re_tests.py
@@ -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'),
+
]