mirror of https://github.com/python/cpython
Merge: #11873: Improve test regex so random directory names don't cause test to fail
This commit is contained in:
commit
a4433ee300
|
@ -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)
|
||||
|
||||
|
|
|
@ -561,6 +561,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 #11958: Fix FTP tests for IPv6, bind to "::1" instead of "localhost".
|
||||
Patch written by Charles-Francois Natali.
|
||||
|
||||
|
|
Loading…
Reference in New Issue