Revision: 368
          http://rpy.svn.sourceforge.net/rpy/?rev=368&view=rev
Author:   warnes
Date:     2007-11-13 07:28:04 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
Minor reformatting of test_numeric.py

Modified Paths:
--------------
    trunk/rpy/tests/test_numeric.py

Modified: trunk/rpy/tests/test_numeric.py
===================================================================
--- trunk/rpy/tests/test_numeric.py     2007-11-13 06:43:02 UTC (rev 367)
+++ trunk/rpy/tests/test_numeric.py     2007-11-13 15:28:04 UTC (rev 368)
@@ -163,9 +163,9 @@
     def testCharArray(self):
 
         if(ArrayLib=='NumPy'):
-            a = array( ['A','B', 'C'], character )
+            a = array( ['A', 'B', 'C'], character )
         else:
-            a = array( ['A','B', 'C'], Character )
+            a = array( ['A', 'B', 'C'], Character )
 
         self.failUnlessRaises(RPyTypeConversionException, lambda: r.c(a) )
 
@@ -173,7 +173,7 @@
     def testStringArray(self):
 
         if(ArrayLib=='NumPy'):
-            a = array( ['ABCDEFHIJKLM','B', 'C C C'], 'S10' )
+            a = array( ['ABCDEFHIJKLM', 'B', 'C C C'], 'S10' )
         else: # not available on Numeric
             print "String arrays not supported by Numeric, skipping"
             return
@@ -274,9 +274,9 @@
     def testCharScalar(self):
 
         if(ArrayLib=='NumPy'):
-            a = array( ['A','B', 'C'], character )
+            a = array( ['A', 'B', 'C'], character )
         else:
-            a = array( ['A','B', 'C'], Character )
+            a = array( ['A', 'B', 'C'], Character )
 
         self.failUnless( r.c(a[0])=='A' )
 
@@ -284,7 +284,7 @@
     def testStringScalar(self):
 
         if(ArrayLib=='NumPy'):
-            a = array( ['ABCDEFHIJKLM','B', 'C C C'], 'S10' )
+            a = array( ['ABCDEFHIJKLM', 'B', 'C C C'], 'S10' )
         else: # not available on Numeric
             print "String arrays not supported by Numeric, skipping"
             return
@@ -295,9 +295,9 @@
     def testObjScalar(self):
 
         if(ArrayLib=='NumPy'):
-            a = array( ['A','B', 'C'], 'object' )
+            a = array( ['A', 'B', 'C'], 'object' )
         else:
-            a = array( ['A','B', 'C'], PyObject )
+            a = array( ['A', 'B', 'C'], PyObject )
 
         self.failUnless( r.c(a[0])=='A' )
 


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

Reply via email to