Revision: 370 http://rpy.svn.sourceforge.net/rpy/?rev=370&view=rev Author: warnes Date: 2007-11-13 07:37:49 -0800 (Tue, 13 Nov 2007)
Log Message: ----------- Improve display of messages about tests being skipped Modified Paths: -------------- trunk/rpy/tests/test_numeric.py Modified: trunk/rpy/tests/test_numeric.py =================================================================== --- trunk/rpy/tests/test_numeric.py 2007-11-13 15:35:33 UTC (rev 369) +++ trunk/rpy/tests/test_numeric.py 2007-11-13 15:37:49 UTC (rev 370) @@ -131,7 +131,7 @@ if(ArrayLib=='NumPy'): a = array( [1,2,3], 'Bool' ) else: - print "Bool arrays not supported by Numeric, skipping" + print "\nBool arrays not supported by Numeric, skipping\n" return b = r.c(a) @@ -145,7 +145,7 @@ else: a = array( [1,2,3], Float64 ) except: - print "Float64 Not found. Skipping this test." + print "\nFloat64 Not found. Skipping this test.\n" return b = r.c(a) @@ -175,7 +175,7 @@ if(ArrayLib=='NumPy'): a = array( ['ABCDEFHIJKLM', 'B', 'C C C'], 'S10' ) else: # not available on Numeric - print "String arrays not supported by Numeric, skipping" + print "\nString arrays not supported by Numeric, skipping\n" return self.failUnlessRaises(RPyTypeConversionException, lambda: r.c(a) ) @@ -242,7 +242,7 @@ if(ArrayLib=='NumPy'): a = array( [1,2,3], 'Bool' ) else: - print "Bool arrays not supported by Numeric, skipping" + print "\nBool arrays not supported by Numeric, skipping\n" return b = r.c(a[0]) @@ -256,7 +256,7 @@ else: a = array( [1,2,3], Float64 ) except: - print "Float64 Not found. Skipping this test." + print "\nFloat64 Not found. Skipping this test.\n" return b = r.c(a[0]) @@ -289,7 +289,7 @@ self.failUnless( r.c(a[0])=='ABCDEFHIJK' ) else: # String class not available on Numeric - print "String arrays not supported by Numeric, skipping" + print "\nString arrays not supported by Numeric, skipping\n" return This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list