summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-07-01 14:55:43 -0400
committerR David Murray <rdmurray@bitdance.com>2011-07-01 14:55:43 -0400
commitee1a7cb4a44caf44e7f56db7645381da78cf6ffd (patch)
tree2e1552837cbccdd4313682e56fd16376bc875917
parenta3bb2f55148c37008e9840c0b5e98e41a88fd5e4 (diff)
downloadcpython-git-ee1a7cb4a44caf44e7f56db7645381da78cf6ffd.tar.gz
#11873: another try at fixing the regex, courtesy of Victor Stinner
-rw-r--r--Lib/test/test_compileall.py2
1 files changed, 1 insertions, 1 deletions
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)