Commit 82992182 authored by Hanno Schlichting's avatar Hanno Schlichting

extend multi-arch test normalizer to cover Python 3.3

parent bc5bfbcf
...@@ -3018,7 +3018,7 @@ def test_suite(): ...@@ -3018,7 +3018,7 @@ def test_suite():
normalize_bang, normalize_bang,
normalize_S, normalize_S,
(re.compile('extdemo[.]pyd'), 'extdemo.so'), (re.compile('extdemo[.]pyd'), 'extdemo.so'),
(re.compile('extdemo[.]cpython-32m.so'), 'extdemo.so'), (re.compile('extdemo[.]cpython-3?m.so'), 'extdemo.so'),
(re.compile('[-d] distribute-\S+[.]egg'), 'distribute.egg'), (re.compile('[-d] distribute-\S+[.]egg'), 'distribute.egg'),
(re.compile(r'\\[\\]?'), '/'), (re.compile(r'\\[\\]?'), '/'),
]+(sys.version_info < (2, 5) and [ ]+(sys.version_info < (2, 5) and [
......
...@@ -85,7 +85,7 @@ def test_suite(): ...@@ -85,7 +85,7 @@ def test_suite():
'\\1V.V.egg'), '\\1V.V.egg'),
(re.compile('extdemo.c\n.+\\extdemo.exp\n'), ''), (re.compile('extdemo.c\n.+\\extdemo.exp\n'), ''),
(re.compile('extdemo[.]pyd'), 'extdemo.so'), (re.compile('extdemo[.]pyd'), 'extdemo.so'),
(re.compile('extdemo[.]cpython-32m.so'), 'extdemo.so'), (re.compile('extdemo[.]cpython-3?m.so'), 'extdemo.so'),
(re.compile( (re.compile(
r'zip_safe flag not set; analyzing archive contents.*\n'), r'zip_safe flag not set; analyzing archive contents.*\n'),
''), ''),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment