merge #11873: another try at fixing the regex, courtesy of Victor Stinner
This commit is contained in:
commit
7ae4448ed2
|
@ -248,7 +248,7 @@ class CommandLineTests(unittest.TestCase):
|
||||||
self.assertEqual(b'', quiet)
|
self.assertEqual(b'', quiet)
|
||||||
|
|
||||||
def test_regexp(self):
|
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.assertNotCompiled(self.barfn)
|
||||||
self.assertCompiled(self.initfn)
|
self.assertCompiled(self.initfn)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue