Author: marky1991 <marky1...@gmail.com> Branch: py3.3 Changeset: r81719:8a7fa79cdf6a Date: 2016-01-10 19:37 -0500 http://bitbucket.org/pypy/pypy/changeset/8a7fa79cdf6a/
Log: Get rid of debugging. diff --git a/pypy/module/test_lib_pypy/test_code_module.py b/pypy/module/test_lib_pypy/test_code_module.py --- a/pypy/module/test_lib_pypy/test_code_module.py +++ b/pypy/module/test_lib_pypy/test_code_module.py @@ -53,13 +53,13 @@ def test_excepthook(self): interp = self.get_interp() interp.runsource("import sys") - print(interp.runsource(""" + interp.runsource(""" def ignore_failure(type, value, traceback): pass -""")) - print(interp.runsource("sys.excepthook = ignore_failure")) - print(interp.runsource("raise TypeError('Invalid Type')")) +""") + interp.runsource("sys.excepthook = ignore_failure") + interp.runsource("raise TypeError('Invalid Type')") result = interp.out.getvalue() # Since we have a custom excepthook, the write() method should not - # be called + # be called, so out should never have been written to. assert result == "" _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit