Staging
v0.5.1
https://github.com/python/cpython
Revision bddc4d4607a26603b2171f0663c506c8994e0a5b authored by Victor Stinner on 29 June 2011, 13:52:46 UTC, committed by Victor Stinner on 29 June 2011, 13:52:46 UTC
regrtest doesn't check that tests doesn't write something to stdout anymore.

Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W.
1 parent ea95de7
Raw File
Tip revision: bddc4d4607a26603b2171f0663c506c8994e0a5b authored by Victor Stinner on 29 June 2011, 13:52:46 UTC
Issue #12400: test.support.run_doctest() doesn't change sys.stdout anymore
Tip revision: bddc4d4
WinMain.c
/* Minimal main program -- everything is loaded from the library. */

#include "Python.h"

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

int WINAPI wWinMain(
    HINSTANCE hInstance,      /* handle to current instance */
    HINSTANCE hPrevInstance,  /* handle to previous instance */
    LPWSTR lpCmdLine,         /* pointer to command line */
    int nCmdShow              /* show state of window */
)
{
    return Py_Main(__argc, __wargv);
}
back to top