[Python-checkins] cpython (merge 3.2 -> default): merge #11873: fix test regex so it covers windows os.sep as well.
r.david.murray
python-checkins at python.org
Fri Jul 1 17:54:07 CEST 2011
http://hg.python.org/cpython/rev/e543c0ddec63
changeset: 71120:e543c0ddec63
parent: 71118:423268537083
parent: 71119:f8ece8c93918
user: R David Murray <rdmurray at bitdance.com>
date: Fri Jul 01 11:53:19 2011 -0400
summary:
merge #11873: fix test regex so it covers windows os.sep as well.
files:
Lib/test/test_compileall.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py
--- a/Lib/test/test_compileall.py
+++ b/Lib/test/test_compileall.py
@@ -248,7 +248,7 @@
self.assertEqual(b'', quiet)
def test_regexp(self):
- self.assertRunOK('-q', '-x', 'ba[^\/]*$', self.pkgdir)
+ self.assertRunOK('-q', '-x', r'ba[^\/]*$', self.pkgdir)
self.assertNotCompiled(self.barfn)
self.assertCompiled(self.initfn)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list