Commit a3bb2f55 authored by R David Murray's avatar R David Murray

#11873: fix test regex so it covers windows os.sep as well.

parent dfde0d46
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment