Commit f45a588b authored by Reinout van Rees's avatar Reinout van Rees

Added doctest normalizer for distribute version

parent d3be41f6
...@@ -257,7 +257,7 @@ versions it picked at the end of its run: ...@@ -257,7 +257,7 @@ versions it picked at the end of its run:
Versions had to be automatically picked. Versions had to be automatically picked.
The following part definition lists the versions picked: The following part definition lists the versions picked:
[versions] [versions]
distribute = 0.6.34 distribute = 0.6.99
spam = 2 spam = 2
......
...@@ -3205,6 +3205,7 @@ def test_suite(): ...@@ -3205,6 +3205,7 @@ def test_suite():
'We have a develop egg: zc.buildout X.X.'), 'We have a develop egg: zc.buildout X.X.'),
(re.compile(r'\\[\\]?'), '/'), (re.compile(r'\\[\\]?'), '/'),
(re.compile('WindowsError'), 'OSError'), (re.compile('WindowsError'), 'OSError'),
(re.compile('distribute = \S+'), 'distribute = 0.6.99'),
(re.compile(r'\[Error 17\] Cannot create a file ' (re.compile(r'\[Error 17\] Cannot create a file '
r'when that file already exists: '), r'when that file already exists: '),
'[Errno 17] File exists: ' '[Errno 17] File exists: '
...@@ -3391,4 +3392,3 @@ def test_suite(): ...@@ -3391,4 +3392,3 @@ def test_suite():
)) ))
return unittest.TestSuite(test_suite) return unittest.TestSuite(test_suite)
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