summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_compileall.py
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2011-07-01 15:51:50 (GMT)
committerR David Murray <rdmurray@bitdance.com>2011-07-01 15:51:50 (GMT)
commita3bb2f55148c37008e9840c0b5e98e41a88fd5e4 (patch)
treeec67c87ef7eebe36b06de54127b7d8fba4e7a318 /Lib/test/test_compileall.py
parentdfde0d465071e9a261ddf02d333401f4c7ada579 (diff)
downloadcpython-a3bb2f55148c37008e9840c0b5e98e41a88fd5e4.zip
cpython-a3bb2f55148c37008e9840c0b5e98e41a88fd5e4.tar.gz
cpython-a3bb2f55148c37008e9840c0b5e98e41a88fd5e4.tar.bz2
#11873: fix test regex so it covers windows os.sep as well.
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 d1c9ee5..866eb40 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', 'ba[^\/]*$', self.pkgdir)
+ self.assertRunOK('-q', '-x', r'ba[^\/]*$', self.pkgdir)
self.assertNotCompiled(self.barfn)
self.assertCompiled(self.initfn)