From: Éric Araujo Date: Mon, 22 Nov 2010 02:42:43 +0000 (+0000) Subject: Fix one compileall test (#10453). Patch by Michele Orrù. X-Git-Tag: v3.2b1~246 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5cb823d353261b67497dc927845dbbd513d232fc;p=thirdparty%2FPython%2Fcpython.git Fix one compileall test (#10453). Patch by Michele Orrù. --- diff --git a/Lib/test/test_compileall.py b/Lib/test/test_compileall.py index dd0962f20a83..35b98f3eddb3 100644 --- a/Lib/test/test_compileall.py +++ b/Lib/test/test_compileall.py @@ -222,7 +222,7 @@ class CommandLineTests(unittest.TestCase): def test_quiet(self): noise = subprocess.getoutput('{} -m compileall {}'.format( sys.executable, self.pkgdir)) - quiet = subprocess.getoutput(('{} -m compileall {}'.format( + quiet = subprocess.getoutput(('{} -m compileall -f -q {}'.format( sys.executable, self.pkgdir))) self.assertGreater(len(noise), len(quiet))