summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compileall.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-07-01 18:55:43 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-07-01 18:55:43 (GMT)
commitee1a7cb4a44caf44e7f56db7645381da78cf6ffd (patch)
tree2e1552837cbccdd4313682e56fd16376bc875917 /Lib/test/test_compileall.py
parenta3bb2f55148c37008e9840c0b5e98e41a88fd5e4 (diff)
downloadcpython-ee1a7cb4a44caf44e7f56db7645381da78cf6ffd.zip
cpython-ee1a7cb4a44caf44e7f56db7645381da78cf6ffd.tar.gz
cpython-ee1a7cb4a44caf44e7f56db7645381da78cf6ffd.tar.bz2
#11873: another try at fixing the regex, courtesy of Victor Stinner
Diffstat (limited to 'Lib/test/test_compileall.py')
-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)