mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
#11873: Improve test regex so random directory names don't cause test to fail
This commit is contained in:
parent
fdc2c5596e
commit
66a18fd801
2 changed files with 4 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ def test_quiet(self):
|
|||
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)
|
||||
|
||||
|
|
|
|||
|
|
@ -322,6 +322,9 @@ Extensions
|
|||
Tests
|
||||
-----
|
||||
|
||||
- Issue #11873: Change regex in test_compileall to fix occasional failures when
|
||||
when the randomly generated temporary path happened to match the regex.
|
||||
|
||||
- Issue #10914: Add a minimal embedding test to test_capi.
|
||||
|
||||
- Issue #11790: Fix sporadic failures in test_multiprocessing.WithProcessesTestCondition.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue