[Jython-checkins] jython: Quiet compileall printing so regrtest doesn't complain

jim.baker jython-checkins at python.org
Wed Feb 18 08:38:17 CET 2015


https://hg.python.org/jython/rev/79ff91ded2aa
changeset:   7588:79ff91ded2aa
user:        Jim Baker <jim.baker at rackspace.com>
date:        Wed Feb 18 00:36:20 2015 -0700
summary:
  Quiet compileall printing so regrtest doesn't complain

files:
  Lib/test/test_compile_jy.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/test/test_compile_jy.py b/Lib/test/test_compile_jy.py
--- a/Lib/test/test_compile_jy.py
+++ b/Lib/test/test_compile_jy.py
@@ -85,7 +85,7 @@
             # pretend we have a Python bytecode compiler by touching this file
             open(PYC_GREETER, "a").close()
             
-            compileall.compile_dir(PACKAGE)
+            compileall.compile_dir(PACKAGE, quiet=True)
             self.assertTrue(os.path.exists(PYC_GREETER))     # still exists
             self.assertTrue(os.path.exists(PYCLASS_TEST))    # along with these new compiled files
             self.assertTrue(os.path.exists(PYCLASS_GREETER))

-- 
Repository URL: https://hg.python.org/jython


More information about the Jython-checkins mailing list