diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-05-05 16:17:50 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-05-05 16:17:50 (GMT) |
commit | a4433ee300504415e5f88d75d845cc2d00874b95 (patch) | |
tree | ea92693424ffda57685dd1995d8da55d97c24e79 /Lib/test | |
parent | cb395187d02b9f6a2a3114d9ffa3fa77faca5008 (diff) | |
parent | 66a18fd801a87faa2079a2d7b66e8b1a8945b691 (diff) | |
download | cpython-a4433ee300504415e5f88d75d845cc2d00874b95.zip cpython-a4433ee300504415e5f88d75d845cc2d00874b95.tar.gz cpython-a4433ee300504415e5f88d75d845cc2d00874b95.tar.bz2 |
Merge: #11873: Improve test regex so random directory names don't cause test to fail
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_compileall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index a63af4c..d1c9ee5 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', 'ba[^\/]*$', self.pkgdir) self.assertNotCompiled(self.barfn) self.assertCompiled(self.initfn) |