summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-07-01 18:57:00 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-07-01 18:57:00 (GMT)
commit7ae4448ed235e37726d4082b75765fd6b4d0535a (patch)
tree85773b96334d8d64fe75afb1131fc967541aa3a2
parent296b96c635840d9dfd408c3984b48435491124f1 (diff)
parentee1a7cb4a44caf44e7f56db7645381da78cf6ffd (diff)
downloadcpython-7ae4448ed235e37726d4082b75765fd6b4d0535a.zip
cpython-7ae4448ed235e37726d4082b75765fd6b4d0535a.tar.gz
cpython-7ae4448ed235e37726d4082b75765fd6b4d0535a.tar.bz2
merge #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 866eb40..6ec105c 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)