[Python-checkins] cpython (3.2): #11873: another try at fixing the regex, courtesy of Victor Stinner

r.david.murray python-checkins at python.org
Fri Jul 1 20:57:37 CEST 2011


http://hg.python.org/cpython/rev/6fdb1f000d36
changeset:   71121:6fdb1f000d36
branch:      3.2
parent:      71119:f8ece8c93918
user:        R David Murray <rdmurray at bitdance.com>
date:        Fri Jul 01 14:55:43 2011 -0400
summary:
  #11873: another try at fixing the regex, courtesy of Victor Stinner

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', r'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