Author: Matti Picus <[email protected]>
Branch:
Changeset: r92866:0edecbafb119
Date: 2017-10-28 22:18 +0300
http://bitbucket.org/pypy/pypy/changeset/0edecbafb119/
Log: move test summary to end on terminal, after the multiple pages of
failure info, typos
diff --git a/_pytest/terminal.py b/_pytest/terminal.py
--- a/_pytest/terminal.py
+++ b/_pytest/terminal.py
@@ -366,11 +366,11 @@
EXIT_OK, EXIT_TESTSFAILED, EXIT_INTERRUPTED, EXIT_USAGEERROR,
EXIT_NOTESTSCOLLECTED)
if exitstatus in summary_exit_codes:
- self.config.hook.pytest_terminal_summary(terminalreporter=self)
self.summary_errors()
self.summary_failures()
self.summary_warnings()
self.summary_passes()
+ self.config.hook.pytest_terminal_summary(terminalreporter=self)
if exitstatus == EXIT_INTERRUPTED:
self._report_keyboardinterrupt()
del self._keyboardinterrupt_memo
diff --git a/pypy/test_all.py b/pypy/test_all.py
--- a/pypy/test_all.py
+++ b/pypy/test_all.py
@@ -27,7 +27,7 @@
sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
import pytest
if sys.platform == 'win32':
- #Try to avoid opeing a dialog box if one of the tests causes a system
error
+ #Try to avoid opening a dialog box if one of the tests causes a system
error
# We do this in runner.py, but buildbots run twisted which ruins
inheritance
# in windows subprocesses.
import ctypes
diff --git a/testrunner/runner.py b/testrunner/runner.py
--- a/testrunner/runner.py
+++ b/testrunner/runner.py
@@ -21,7 +21,7 @@
win32api.CloseHandle(proch)
except pywintypes.error, e:
pass
- #Try to avoid opeing a dialog box if one of the tests causes a system error
+ #Try to avoid opening a dialog box if one of the tests causes a system
error
import ctypes
winapi = ctypes.windll.kernel32
SetErrorMode = winapi.SetErrorMode
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit