From: R David Murray <rdmurray@bitdance.com>
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.2rc1~164
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee1a7cb4a44caf44e7f56db7645381da78cf6ffd;p=python

#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 866eb40e02..6ec105c922 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)