Revision: 541
          http://rpy.svn.sourceforge.net/rpy/?rev=541&view=rev
Author:   lgautier
Date:     2008-06-01 04:40:33 -0700 (Sun, 01 Jun 2008)

Log Message:
-----------
- only keep support for numpy (dropping support for Numeric and numarray)

Modified Paths:
--------------
    branches/rpy_nextgen/rpy/rinterface/tests/test_SexpVectorNumeric.py

Modified: branches/rpy_nextgen/rpy/rinterface/tests/test_SexpVectorNumeric.py
===================================================================
--- branches/rpy_nextgen/rpy/rinterface/tests/test_SexpVectorNumeric.py 
2008-06-01 10:54:18 UTC (rev 540)
+++ branches/rpy_nextgen/rpy/rinterface/tests/test_SexpVectorNumeric.py 
2008-06-01 11:40:33 UTC (rev 541)
@@ -2,11 +2,6 @@
 import itertools
 import rpy2.rinterface as rinterface
 
-try:
-    import Numeric
-    has_Numeric = True
-except ImportError:
-    hasNumeric = False
 
 try:
     import numpy
@@ -14,11 +9,6 @@
 except ImportError:
     hasNumpy = False
 
-try:
-    import numarray
-    has_Numarray = True
-except ImportError:
-    has_Numarray = False
 
 try:
     #FIXME: can starting and stopping an embedded R be done several times ?
@@ -64,35 +54,18 @@
 
 class SexpVectorNumericTestCase(unittest.TestCase):
 
-    def testArrayStructNumericInt(self):
-        testArrayStructInt(self, Numeric)
 
     def testArrayStructNumpyInt(self):
         testArrayStructInt(self, numpy)
 
-    def testArrayStructNumarrayInt(self):
-        testArrayStructInt(self, numarray)
-        
-    def testArrayStructNumericDouble(self):
-        testArrayStructDouble(self, Numeric)
-
     def testArrayStructNumpyDouble(self):
         testArrayStructDouble(self, numpy)
 
-    def testArrayStructNumarrayDouble(self):
-        testArrayStructDouble(self, numarray)
-
-    def testArrayStructNumericComplex(self):
-        testArrayStructComplex(self, Numeric)
-
     def testArrayStructNumpyComplex(self):
         testArrayStructComplex(self, numpy)
 
-    def testArrayStructNumarrayComplex(self):
-        testArrayStructComplex(self, numarray)
 
 
-
 #     def testArrayStructBoolean(self):
 #         px = [True, False, True]
 #         x = rinterface.SexpVector(px, rinterface.REALSXP)


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to