From 41a342f0263d31a29fc566256a86e7f0ed30e50d Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 18 Sep 2006 18:25:12 +0000 Subject: [PATCH] vc6/7 workaround [SVN r35164] --- test/slice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/slice.cpp b/test/slice.cpp index 7a1ab020..491dcbad 100644 --- a/test/slice.cpp +++ b/test/slice.cpp @@ -49,7 +49,7 @@ bool check_string_rich_slice() // value doesn't make any sense. #define ASSERT_EQUAL( e1, e2 ) \ if ((e1) != (e2)) \ - return str("assertion failed: " #e1 " == " #e2 "\nLHS:\n") /*+ str(e1) + "\nRHS:\n" + str(e2)*/; \ + return object("assertion failed: " #e1 " == " #e2 "\nLHS:\n") /*+ str(e1) + "\nRHS:\n" + str(e2)*/; \ else // These tests work with Python 2.2, but you must have Numeric installed.