From: R David Murray Date: Fri, 1 Jul 2011 18:55:43 +0000 (-0400) Subject: #11873: another try at fixing the regex, courtesy of Victor Stinner X-Git-Tag: v3.2.1rc2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee1a7cb4a44caf44e7f56db7645381da78cf6ffd;p=thirdparty%2FPython%2Fcpython.git #11873: another try at fixing the regex, courtesy of Victor Stinner --- diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index 866eb40e0230..6ec105c92233 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -248,7 +248,7 @@ class CommandLineTests(unittest.TestCase): 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)