Kaydet (Commit) 5cb823d3 authored tarafından Éric Araujo's avatar Éric Araujo

Fix one compileall test (#10453). Patch by Michele Orrù.

üst 870e0e81
...@@ -222,7 +222,7 @@ class CommandLineTests(unittest.TestCase): ...@@ -222,7 +222,7 @@ class CommandLineTests(unittest.TestCase):
def test_quiet(self): def test_quiet(self):
noise = subprocess.getoutput('{} -m compileall {}'.format( noise = subprocess.getoutput('{} -m compileall {}'.format(
sys.executable, self.pkgdir)) sys.executable, self.pkgdir))
quiet = subprocess.getoutput(('{} -m compileall {}'.format( quiet = subprocess.getoutput(('{} -m compileall -f -q {}'.format(
sys.executable, self.pkgdir))) sys.executable, self.pkgdir)))
self.assertGreater(len(noise), len(quiet)) self.assertGreater(len(noise), len(quiet))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment