commit | 66a18fd801a87faa2079a2d7b66e8b1a8945b691 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Thu May 05 11:52:44 2011 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Thu May 05 11:52:44 2011 -0400 |
tree | d234e9c21ed03baeb995545928b16cd5c9250d69 | |
parent | fdc2c5596e76347e6a979496cd754b464bc7e7a9 [diff] [blame] |
#11873: Improve test regex so random directory names don't cause test to fail
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index 250d31b..c1dfdb3 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py
@@ -248,7 +248,7 @@ self.assertEqual(b'', quiet) def test_regexp(self): - self.assertRunOK('-q', '-x', 'ba.*', self.pkgdir) + self.assertRunOK('-q', '-x', 'ba[^\/]*$', self.pkgdir) self.assertNotCompiled(self.barfn) self.assertCompiled(self.initfn)