From ee1a7cb4a44caf44e7f56db7645381da78cf6ffd Mon Sep 17 00:00:00 2001 From: R David Murray Date: Fri, 1 Jul 2011 14:55:43 -0400 Subject: [PATCH] #11873: another try at fixing the regex, courtesy of Victor Stinner --- Lib/test/test_compileall.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index 866eb40e023..6ec105c9223 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)