mirror of https://github.com/python/cpython
merge #11873: fix test regex so it covers windows os.sep as well.
This commit is contained in:
commit
296b96c635
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue