[Python-checkins] r81177 - python/branches/py3k-jit/Unittests/pytest_main.cc
jeffrey.yasskin
python-checkins at python.org
Fri May 14 22:51:58 CEST 2010
Author: jeffrey.yasskin
Date: Fri May 14 22:51:58 2010
New Revision: 81177
Log:
Oops, missed that Collin had comments.
Modified:
python/branches/py3k-jit/Unittests/pytest_main.cc
Modified: python/branches/py3k-jit/Unittests/pytest_main.cc
==============================================================================
--- python/branches/py3k-jit/Unittests/pytest_main.cc (original)
+++ python/branches/py3k-jit/Unittests/pytest_main.cc Fri May 14 22:51:58 2010
@@ -27,17 +27,16 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-// Modified for Python to pass the name of this program.
+// Modified from gtest_main for Python to pass the name of this program.
#include <iostream>
-#include <string>
#include <gtest/gtest.h>
#include "Python.h"
int main(int argc, char **argv) {
- std::cout << "Running main() from gtest_main.cc\n";
+ std::cout << "Running main() from pytest_main.cc\n";
wchar_t *argv0_copy = _Py_char2wchar(argv[0]);
Py_SetProgramName(argv0_copy);
More information about the Python-checkins
mailing list